tinc

Create encrypted virtual private networks between computers

brewmacoslinux
Try with needOr install directly
Source

About

Virtual Private Network (VPN) tool

Commands

tinctincd

Examples

set up a new vpn network$ tinc -n mynetwork init mynode
start the vpn daemon in background$ tincd -n mynetwork -D
connect to an existing vpn network$ tinc -n mynetwork join <invitation_url>
show vpn network status and connected nodes$ tinc -n mynetwork info
stop the running vpn daemon$ tinc -n mynetwork stop