MPD下的l2tp客户端典型配置

1200阅读 0评论2016-09-10 lsstarboy
分类:BSD

1、配置
  黄底部分是需要按实际情况修改的部分

  1. my_L2TP:
  2. create bundle static L2TP
  3. set bundle disable compression
  4. set bundle disable round-robin
  5. set bundle disable encryption
  6. set bundle disable crypt-reqd
  7. set bundle disable bw-manage
  8. set bundle disable ipv6cp
  9. set bundle enable ipcp
  10. set ipcp no vjcomp
  11. set iface mtu 1460
  12. set iface idle 0
  13. set iface enable tcpmssfix
  14. set iface route 10.49.0.0/24

  15. create link static L2 l2tp
  16. set link action bundle L2TP
  17. set link latency 0
  18. set link max-redial 1
  19. set link disable incoming acfcomp protocomp magicnum check-magic shortseq
  20. set link deny chap-msv2 chap-msv1 eap acfcomp protocomp shortseq
  21. set link accept pap
  22. set link keep-alive 10 75
  23. set l2tp peer 192.168.10.1
  24. set auth authname "user"
  25. set auth password "password"
  26. open
2、加载:
  简单讲,在default:节,可以有多个load。
上一篇:PHP的C语言模式Blitz更新说明
下一篇:FireFox禁用Flash Player升级和锁定