Created
January 8, 2018 09:13
-
-
Save chenhuawei/85ef01c7419292fa96cd818bb3ed3a8a to your computer and use it in GitHub Desktop.
L2TP VPN
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 不使用共享密钥 | |
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