Antergos / Arch Linux / VPN · December 1, 2014 1

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  debug dump logfd 2 nodetach

4. connect your vpn normally

# pon 

5. Route all traffic to your vpn

# ip route add default dev ppp0

6. Disconnect tunnel

# poff 

Enjoy folks 🙂