sshuttle

Proxy server that works as a poor man's VPN using SSH

brewmacoslinux
Try with needOr install directly
Source

About

Proxy server that works as a poor man's VPN

Commands

sshuttle

Examples

Route all traffic through remote server via SSH$ sshuttle -r user@remote.server 0/0
Route only specific subnet through SSH tunnel$ sshuttle -r user@remote.server 192.168.1.0/24
Route traffic excluding local network$ sshuttle -r user@remote.server 0/0 -x 192.168.0.0/16