Hi! I`m using 1.2.0-rolling+201907230337
$ sh int Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down Interface IP Address S/L Description --------- ---------- --- ----------- eth0 172.16.63.2/28 u/u LAN interface eth1 46.*.*.201/29 u/u WAN 1 eth2 88.*.*.182/29 u/u WAN 2 lo 127.0.0.1/8 u/u ::1/128
using next vpn config:
# sh vpn l2tp
remote-access {
authentication {
mode radius
radius {
server 192.*.*.10 {
key some-secret-key
}
}
require mschap-v2
}
client-ip-pool {
start 10.8.252.20
stop 10.8.252.220
}
dns-servers {
server-1 192.168.0.25
server-2 192.168.0.16
}
ipsec-settings {
authentication {
mode pre-shared-secret
pre-shared-secret pre-shared
}
ike-lifetime 3600
}
outside-address 0.0.0.0
}So, on first time i`ve configured it starts xl2tpd on 0.0.0.0 address, as see:
# ss -nlup | grep xl2tpd
UNCONN0 0 0.0.0.0:1701 0.0.0.0:* users:(("xl2tpd",pid=2358,fd=3))On edit listening address and commit it stays listening on 0.0.0.0:
set vpn l2tp remote-access outside-address 88.*.*.182
sh vpn l2tp
remote-access {
authentication {
mode radius
radius {
server 192.*.*.10 {
key some-secret-key
}
}
require mschap-v2
}
client-ip-pool {
start 10.8.252.20
stop 10.8.252.220
}
dns-servers {
server-1 192.168.0.25
server-2 192.168.0.16
}
ipsec-settings {
authentication {
mode pre-shared-secret
pre-shared-secret pre-shared
}
ike-lifetime 3600
}
> outside-address 88.*.*.182
}
commit
# grep listen-addr /etc/xl2tpd/xl2tpd.conf
listen-addr = 88.*.*.182
# ss -nlup | grep xl2tpd
UNCONN0 0 0.0.0.0:1701 0.0.0.0:* users:(("xl2tpd",pid=2358,fd=3))If i restart vyos, or kill and start xl2tpd it starts with normal listening address:
# kill -9 2358
# /usr/sbin/xl2tpd
# ss -nlup | grep xl2tpd
UNCONN0 0 88.*.*.182:1701 0.0.0.0:* users:(("xl2tpd",pid=5935,fd=3))Same problem when i wish to listen on another interface.
restart vpn does not solve problem.