OpenVPN Inactivity Timeout W/ Arista

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
HackerMcGee_ET
OpenVpn Newbie
Posts: 1
Joined: Thu Dec 07, 2023 1:41 pm

OpenVPN Inactivity Timeout W/ Arista

Post by HackerMcGee_ET » Thu Dec 07, 2023 2:02 pm

Hi all, I hope you can help me, I am trying to set up OpenVPN for a client using Arista as their firewall and VPN server so they can connect to the site remotely.

I got the VPN Config file from the Arista OpenVPN app and imported this to their machine running OpenVPN GUIv11.46.0.0 on Windows 11, OpenVPNv2.6.8

After this I tried testing and connecting to the VPN to make sure all is working as it should and started noticing the Inactivity Timeout.
This is the Client Log:

[olog]2023-12-07 15:15:29 OpenVPN 2.6.8 [git:v2.6.8/3b0d9489cc423da3] Windows [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] [DCO] built on Nov 17 2023
2023-12-07 15:15:29 Windows version 10.0 (Windows 10 or greater), amd64 executable
2023-12-07 15:15:29 library versions: OpenSSL 3.1.4 24 Oct 2023, LZO 2.10
2023-12-07 15:15:29 DCO version: 1.0.0
2023-12-07 15:15:29 TCP/UDP: Preserving recently used remote address: [AF_INET]1.2.3.4:1194
2023-12-07 15:15:29 UDPv4 link local: (not bound)
2023-12-07 15:15:29 UDPv4 link remote: [AF_INET]1.2.3.4:1194
2023-12-07 15:15:39 [UNDEF] Inactivity timeout (--ping-restart), restarting
2023-12-07 15:15:39 SIGUSR1[soft,ping-restart] received, process restarting
2023-12-07 15:15:40 TCP/UDP: Preserving recently used remote address: [AF_INET]1.2.3.4:1194
2023-12-07 15:15:40 UDPv4 link local: (not bound)
2023-12-07 15:15:40 UDPv4 link remote: [AF_INET]1.2.3.4:1194
2023-12-07 15:15:50 [UNDEF] Inactivity timeout (--ping-restart), restarting
2023-12-07 15:15:50 SIGUSR1[soft,ping-restart] received, process restarting
2023-12-07 15:15:51 TCP/UDP: Preserving recently used remote address: [AF_INET]1.1.2.3:1194
2023-12-07 15:15:51 UDPv4 link local: (not bound)
2023-12-07 15:15:51 UDPv4 link remote: [AF_INET]1.1.2.3:1194
2023-12-07 15:16:01 [UNDEF] Inactivity timeout (--ping-restart), restarting
2023-12-07 15:16:01 SIGUSR1[soft,ping-restart] received, process restarting
2023-12-07 15:16:02 TCP/UDP: Preserving recently used remote address: [AF_INET]1.2.3.4:1194
2023-12-07 15:16:02 UDPv4 link local: (not bound)
2023-12-07 15:16:02 UDPv4 link remote: [AF_INET]1.2.3.4:1194
2023-12-07 15:16:12 [UNDEF] Inactivity timeout (--ping-restart), restarting
2023-12-07 15:16:12 SIGUSR1[soft,ping-restart] received, process restarting
2023-12-07 15:16:13 TCP/UDP: Preserving recently used remote address: [AF_INET]1.2.3.4:1194
2023-12-07 15:16:13 UDPv4 link local: (not bound)
2023-12-07 15:16:13 UDPv4 link remote: [AF_INET]1.2.3.4:1194
2023-12-07 15:16:22 SIGTERM received, sending exit notification to peer
2023-12-07 15:16:23 [UNDEF] Inactivity timeout (--ping-restart), restarting
2023-12-07 15:16:23 Converting soft SIGUSR1 received during exit notification to SIGTERM
2023-12-07 15:16:23 SIGTERM[soft,exit-with-notification] received, process exiting
[/olog]

This is the Client Config:


[oconf=]client
resolv-retry 20
keepalive 2 10
nobind
mute-replay-warnings
remote-cert-tls server
compress
verb 1
persist-key
persist-tun
explicit-exit-notify 1
dev tun
proto udp
port 1194
cipher AES-256-GCM
remote 1.2.3.4 1194 # public address
remote 1.2.3.4 1194 # static WAN 1
remote 1.1.2.3 1194 # static WAN 3


I have tried doing some research but couldn't find anything that helped, if you have any info, I would love to hear :D

Post Reply