Skip to content

Instantly share code, notes, and snippets.

@chenhuawei
Created January 8, 2018 09:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chenhuawei/85ef01c7419292fa96cd818bb3ed3a8a to your computer and use it in GitHub Desktop.
Save chenhuawei/85ef01c7419292fa96cd818bb3ed3a8a to your computer and use it in GitHub Desktop.
L2TP VPN
# 不使用共享密钥
vim /etc/ppp/options
plugin L2TP.ppp
l2tpnoipsec
# 添加静态路由
sudo /sbin/route add -net 168.100.0.0/16 -interface ppp0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment