Tag: vpn

Quick and Dirty VPN with pppd and ssh

Posted by – 12/01/2009

This is just to keep a reference (so I don’t have to google it again ­čÖé ): One can create a “quick and dirty” VPN using pppd and ssh:

bash$ /usr/sbin/pppd noauth pty 'ssh -x -t -e none remote_user@remote_server /usr/sbin/pppd passive noauth'

This assumes both users (local and remote) have permissions to run pppd (some sudo trickery may become very handy) and that no password is asked by ssh (password-less key authentication).

Quite handy, ain’t it?