首页 > 系统 > Linux > 正文

VPN client on linux debian

2024-06-28 13:21:25
字体:
来源:转载
供稿:网友
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


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表