Free PPTP VPN servers

I'd recommend you all using some VPN to keep your identity safe and private. Here's some setup:

$ pptpsetup --create vpnde --server --username free --password --encrypt 
$ pptpsetup --create vpnca --server --username free --password --encrypt 
$ pptpsetup --create vpnl --server --username free --password --encrypt 
$ pptpsetup --create vpnuk --server --username free --password --encrypt

For the passwords have a look at,,, The VPN passwords changes every 12 hours, so keep in mind to change whenever the authentication failes. Therefore have a look at /etc/ppp/chap-secrets. Just edit the password there and you're ready to go. In order to activate the VPN connection you'll have to:

$ pon vpn{de, uk, nl, ca}

Please choose only one them. Have a look at your syslog to check if the connection succeded. If so, then have a look at your [b]ppp device[/b] for the IP. Now you should delete your default route and add a new one. For example we have following in our log:

Jun 23 23:17:32 BlackTiny pppd[16313]: local IP address 
Jun 23 23:17:32 BlackTiny pppd[16313]: remote IP address

Then you should:

$ route delete default
$ route add default gw

That's it! Now test the connection using traceroute, or whatever. To disable the VPN connection just fire up:

$ poff vpn{de, uk, nl, ca}

and you're done. Keep in mind to restore the old default route.

Prev: OpenBSD, FreeBSD, NetBSD – I do love beasts!
Next: HowTo: Keep your passwords safe using SQLite and SQLCipher

comments powered by Disqus
2011-06-24 00:00
Table of contents