xelerance/xl2tpd

xl2tpd[16101]: No such tunnel '***'

18252127005 opened this issue · 4 comments

problem show 16101, I don't know what to do

Can you please post your xl2tpd configuration and what version of xl2tpd are you using?

xl2tpd version: xl2tpd-1.3.15

The server confirms that it can connect. I have connected with Windows.
when I use centos7 below, I created one xl2tpd.conf file to put in /etc/xl2tpd and a xxvpn.l2tpd file to put in /etc/ppp/peers

xl2tpd.conf show is

[lac xxvpn]
name = xl2tpd01
lns = 192.168.30.57
pppoptfile = /etc/ppp/peers/xxvpn.l2tpd
ppp debug= ye
s

xxvpn.l2tpd show is

remotename xxvpn
user "xl2tpd01"
password "123456"
unit 0
nodeflate
nobsdcomp
noauth
persist
nopcomp
noaccomp
maxfail 5
debug

I use command
xl2tpd -c /etc/xl2tpd/xl2tpd.conf
echo 'c xxvpn' >/var/run/xl2tpd/l2tp-control

show /var/log/message is
Jun 16 17:34:59 localhost xl2tpd: xl2tpd[16101]: No such tunnel 'xxvpn'

The server confirms that it can connect. I have connected with Windows.
when I use centos7 below, I created one xl2tpd.conf file to put in /etc/xl2tpd and a xxvpn.l2tpd file to put in /etc/ppp/peers

xl2tpd.conf show is

[lac xxvpn]
name = xl2tpd01
lns = 192.168.30.57
pppoptfile = /etc/ppp/peers/xxvpn.l2tpd
ppp debug= ye
s

xxvpn.l2tpd show is

remotename xxvpn
user "xl2tpd01"
password "123456"
unit 0
nodeflate
nobsdcomp
noauth
persist
nopcomp
noaccomp
maxfail 5
debug

show /var/log/message is
Jun 16 17:34:59 localhost xl2tpd: xl2tpd[16101]: No such tunnel 'xxvpn'