I have an L2TP tunnel set up on my vyos router. I can connect just fine but the VPN disconnects periodically - sometimes after an hour, sometimes after a day, etc. Most of the time I can reconnect but sometimes it just blocks on the sign-on screen on my PC (using Microsoft client).
I see an entry in the logs that says “Sep 2 00:21:28 vr-2 xl2tpd[4039]: Maximum retries exceeded for tunnel 28329. Closing,” so I know why it probably won’t reconnect (how do I clear the retries?)
As for losing the connection in the first place, I see the following:
Sep 2 10:38:46 vr-2 pppd[13088]: Modem hangup
Sep 2 10:38:46 vr-2 pppd[13088]: Connection terminated: no multilink.
Sep 2 10:58:42 vr-2 xl2tpd[4039]: death_handler: Fatal signal 15 received
Sep 2 11:02:00 vr-2 xl2tpd[4042]: setsockopt recvref[22]: Protocol not available
.
.
.
Sep 2 11:03:05 vr-2 zebra[2922]: warning: PtP interface ppp0 with addr 10.255.255.0/32 needs a peer address
Sep 2 11:03:05 vr-2 zebra[2922]: interface index 10 was renamed from ppp0 to l2tp0
Sep 2 11:03:05 vr-2 ripngd[2926]: interface delete ppp0 index 10 flags 0x1090 metric 1 mtu 1400
Sep 2 11:03:05 vr-2 ripd[2924]: interface delete ppp0 index 10 flags 0x1090 metric 1 mtu 1400
Sep 2 11:03:05 vr-2 pppd[4313]: Cannot determine ethernet address for proxy ARP
Anyone have any suggestions?