startup:
#set user adc 1 admin
#set web self 0.0.0.0 24554
#set web open
default:
load l2tp_server
load pptp_server
l2tp_server:
set ippool add pool_l2tp 192.168.0.50 192.168.0.60
create bundle template B
set iface enable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set ipcp yes vjcomp
set ipcp ranges 192.168.0.2/32 ippool pool_l2tp
set ipcp dns 192.168.0.1
set bundle enable compression
set ccp yes mppc
set mppc yes e40
set mppc yes e128
set mppc yes stateless
create link template L l2tp
set link action bundle B
set link enable multilink
set link yes acfcomp protocomp
set link no pap chap eap
set link enable chap
set link keep-alive 10 60
set link mtu 1460
set l2tp self 212.5.113.41
set l2tp enable length
set link enable incoming
pptp_server:
set ippool add pool_pptp 192.168.0.70 192.168.0.80
create bundle template C
set iface enable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set ipcp yes vjcomp
set ipcp ranges 192.168.0.2/32 ippool pool_pptp
set ipcp dns 192.168.0.1
set bundle enable compression
set ccp yes mppc
set mppc yes e40
set mppc yes e128
set mppc yes stateless
create link template P pptp
set link action bundle C
set link enable multilink
set link yes acfcomp protocomp
set link no pap chap eap
set link enable chap
set link keep-alive 10 60
set link mtu 1460
set pptp self 212.5.113.41
set link enable incoming
abc@aokp.ru "password" 192.168.0.19
adm@aokp.ru "password1"