Connection established and then times out

This forum is for admins who are looking to build or expand their OpenVPN setup.

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
michelvdriel
OpenVpn Newbie
Posts: 1
Joined: Tue Mar 09, 2021 3:34 pm

Connection established and then times out

Post by michelvdriel » Tue Mar 09, 2021 3:43 pm

I'm having some trouble with a VPN connection that we get in from one of our clients. This connection has been working without issue for over a year, but this morning it started giving trouble.
The client has a teltonika device that connects to our VPN server. All settings are unchanged on both this Teltonika device and our server. However, the server receives a connection, seems to complete the initialization and then after a minute (which is the time we set for this connection) times out due to no activity to start all over again. I really have no idea where to start troubleshooting this, especially since this was working perfectly and we did not change a thing.

This is the logfile for this particular connection on the server side. I don't have a log from the user's side as they are a few countries away and we don't have anyone near at the moment.

Code: Select all

Mar  9 16:06:50 LINUXVPN ovpn-48849[32138]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mar  9 16:06:50 LINUXVPN ovpn-48849[32138]: /usr/sbin/openvpn-vulnkey -q 48849.key
Mar  9 16:06:50 LINUXVPN ovpn-48849[32138]: TUN/TAP device tun227 opened
Mar  9 16:06:50 LINUXVPN ovpn-48849[32138]: /sbin/ifconfig tun227 192.168.0.254 pointopoint 10.150.33.1 mtu 1500
Mar  9 16:06:50 LINUXVPN ovpn-48849[32171]: UDPv4 link local (bound): [AF_INET]85.146.254.194:5225
Mar  9 16:06:50 LINUXVPN ovpn-48849[32171]: UDPv4 link remote: [undef]
Mar  9 16:06:54 LINUXVPN ovpn-48849[32171]: Peer Connection Initiated with [AF_INET]88.203.156.110:47062
Mar  9 16:06:55 LINUXVPN ovpn-48849[32171]: Initialization Sequence Completed
Mar  9 16:07:59 LINUXVPN ovpn-48849[32171]: Inactivity timeout (--ping-restart), restarting
Mar  9 16:07:59 LINUXVPN ovpn-48849[32171]: /sbin/ifconfig tun227 0.0.0.0
Mar  9 16:07:59 LINUXVPN ovpn-48849[32171]: SIGUSR1[soft,ping-restart] received, process restarting
Mar  9 16:08:01 LINUXVPN ovpn-48849[32171]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mar  9 16:08:01 LINUXVPN ovpn-48849[32171]: /usr/sbin/openvpn-vulnkey -q 48849.key
Mar  9 16:08:01 LINUXVPN ovpn-48849[32171]: TUN/TAP device tun227 opened
Mar  9 16:08:01 LINUXVPN ovpn-48849[32171]: /sbin/ifconfig tun227 192.168.0.254 pointopoint 10.150.33.1 mtu 1500
Mar  9 16:08:01 LINUXVPN ovpn-48849[32171]: UDPv4 link local (bound): [AF_INET]85.146.254.194:5225
Mar  9 16:08:01 LINUXVPN ovpn-48849[32171]: UDPv4 link remote: [undef]
Mar  9 16:08:04 LINUXVPN ovpn-48849[32171]: Peer Connection Initiated with [AF_INET]88.203.156.110:31141
Mar  9 16:08:05 LINUXVPN ovpn-48849[32171]: Initialization Sequence Completed
This server hosts a large number of vpn connections and they are all working, it is only this one that is giving us trouble.

I know this isn't to much info, but any guidance is much appreciated

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: Connection established and then times out

Post by TinCanTech » Tue Mar 09, 2021 4:27 pm

michelvdriel wrote:
Tue Mar 09, 2021 3:43 pm
NOTE: OpenVPN 2.1
:roll:
michelvdriel wrote:
Tue Mar 09, 2021 3:43 pm
This server hosts a large number of vpn connections and they are all
they are all completely compromised.

Astonishing ..

https://community.openvpn.net/openvpn/w ... edVersions

Post Reply