1、配置
黄底部分是需要按实际情况修改的部分
-
my_L2TP:
-
create bundle static L2TP
-
set bundle disable compression
-
set bundle disable round-robin
-
set bundle disable encryption
-
set bundle disable crypt-reqd
-
set bundle disable bw-manage
-
set bundle disable ipv6cp
-
set bundle enable ipcp
-
set ipcp no vjcomp
-
set iface mtu 1460
-
set iface idle 0
-
set iface enable tcpmssfix
-
set iface route 10.49.0.0/24
-
-
create link static L2 l2tp
-
set link action bundle L2TP
-
set link latency 0
-
set link max-redial 1
-
set link disable incoming acfcomp protocomp magicnum check-magic shortseq
-
set link deny chap-msv2 chap-msv1 eap acfcomp protocomp shortseq
-
set link accept pap
-
set link keep-alive 10 75
-
set l2tp peer 192.168.10.1
-
set auth authname "user"
-
set auth password "password"
-
open
2、加载:
简单讲,在default:节,可以有多个load。
阅读(1136) | 评论(0) | 转发(0) |