Arch linux connecting to vpn


VPN connection in arch linux is a just a bit of commands as follow

1. get free vpn with username and password or use your own

you can get free vpn from below

http://freevpnaccess.com/

2. create a tunnel of vpn using following command

pptpsetup --create my_tunnel --server vpn.example.com --username alice --password foo --encrypt

3. make sure every thing is configured properly

# pon <TUNNEL> debug dump logfd 2 nodetach

4. connect your vpn normally

# pon <TUNNEL>

5. Route all traffic to your vpn

# ip route add default dev ppp0

6. Disconnect tunnel

# poff <TUNNEL>

Enjoy folks 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s