你的位置:首页 > 操作系统

[操作系统]VPN client on linux debian


Install 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