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

2. create a tunnel of vpn using following command

pptpsetup --create my_tunnel --server --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 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *