# Quick and dirty VPN with pppd and ssh # From http://www.nardol.org/2009/1/12/quick-and-dirty-vpn-with-pppd-and-ssh # and comments there /usr/sbin/pppd noauth 10.0.0.1:10.0.0.2 pty \ 'ssh -x -t -e none remote_user@remote_server /usr/sbin/pppd passive noauth' # or, with slirp: sudo pppd updetach noauth pty \ "ssh remote_user@remote_server slirp ppp" 10.0.0.1:10.0.0.2 # ----