sudo apt-get install pptp-linux binutils

modprobe ppp_mppe
sudo pptpsetup --create testvpn --server 10.1.1.1 --username user --password pass --encrypt --start

pon testvpn    #<--  VPN的&ldquo;连接名称"
poff                   #<-- 断开VPN连接

route -n
route add -net 0.0.0.0 dev ppp0 //添加默认路由
route -n

 

参考资料:

http://jpuyy.com/2011/09/pptpsetup-dial-pptp-vpn.html

http://www.aikaiyuan.com/7221.html

http://www.guoziweb.com/archive/265.html

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-22
  • 2021-09-16
  • 2021-12-30
  • 2021-10-10
  • 2021-11-01
  • 2021-11-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-03
  • 2022-12-23
  • 2021-04-13
  • 2021-10-31
相关资源
相似解决方案