yum install xl2tpd

https://pkgs.org/search/xl2tpd

 

/etc/xl2tpd/
[lac mai]
lns = l2tp.mai.local
redial = yes
redial timeout = 10
require chap = yes
require authentication = no
name = CaseSensitiveUserName
ppp debug = yes
pppoptfile = /etc/ppp/options.xl2tpd
require pap = no
autodial = yes
tunnel rws = 8
tx bps = 100000000
flow bit = no
/etc/ppp/options.xl2tpd
asyncmap 0000
name CaseSensitiveUserName
remotename L2TP
ipparam beeline
connect /bin/true
mru 1460
mtu 1460
nodeflate
nobsdcomp
persist
maxfail 0
nopcomp
noaccomp
noauth
novj
novjccomp
noipx
nomp
refuse-eap
refuse-pap
unit 0
logfile /var/log/ppp/ppp.log 
/etc/ppp/chap-secrets
 # client        server  secret                  IP addresses
CaseSensitiveUserName * <password> *
  • Нет меток