VPN client on linux debianInstall the PPTp-linux and pptp-linux-client:
1 sudo apt-get install pptp-linux pptp-linux-client
Create a connection config:
1 sudo pptpsetup --create [ConnectionName] --server [ip] --username [Username] --passWord [Password] --encrypt
Connect the VPN:
1 sudo pon [ConnectionName]
Add router:
1 sudo route add default dev ppp0
Check the routor table:
1 sudo route -n
Disconnect the VPN:
1 sudo poff [ConnectionName]
我的渣github