[Solved] client looses connection even if keepalive is set

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.
TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: client looses connection even if keepalive is set

Post by TinCanTech » Fri Sep 23, 2016 1:46 pm

TinCanTech wrote:All I see is this:
prius wrote:Fri Sep 23 09:03:49 2016 us=698988 Initialization Sequence Completed
Fri Sep 23 10:03:47 2016 us=625592 TLS: soft reset sec=0 bytes=49183/0 pkts=718/0
which I have already explained. :roll:
prius wrote:not sure to understand...sorry
This is --reneg-sec 3600 (1 hour default). If you want a longer renegotiation window set it as the manual explains.
prius wrote:note this config (ifconfig 192.168.200.6 192.168.200.5) doesn't work at all
This is the correct config for --topology net30 (which you are using, as per your posted log).
prius wrote:unlike the former one (ifconfig 192.168.200.6 192.168.200.1) which dropped after a certain time
This is the incorrect config for --topology net30 and was successfully identified to be the cause of your server dropping your client with --ping-timeout.

Your posted log shows that openvpn is functioning perfectly normally .. If you have a new problem please start a new thread and post complete configs/logs and a description of the problem (in full).

NOTE:
In this thread; All of your Openvpn issues have been resolved.
Please see your posted log which shows:
  • Fri Sep 23 09:03:49 2016 us=698988 Initialization Sequence Completed
This thread is now closed.

Locked