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: 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: Modem hangup
Sep 2 10:38:46 vr-2 pppd: Connection terminated: no multilink.
Sep 2 10:58:42 vr-2 xl2tpd: death_handler: Fatal signal 15 received
Sep 2 11:02:00 vr-2 xl2tpd: setsockopt recvref: Protocol not available
Sep 2 11:03:05 vr-2 zebra: warning: PtP interface ppp0 with addr 10.255.255.0/32 needs a peer address
Sep 2 11:03:05 vr-2 zebra: interface index 10 was renamed from ppp0 to l2tp0
Sep 2 11:03:05 vr-2 ripngd: interface delete ppp0 index 10 flags 0x1090 metric 1 mtu 1400
Sep 2 11:03:05 vr-2 ripd: interface delete ppp0 index 10 flags 0x1090 metric 1 mtu 1400
Sep 2 11:03:05 vr-2 pppd: Cannot determine ethernet address for proxy ARP
Anyone have any suggestions?