Hi,
I am using softether version 4.28.9669-1 on centos 7. I am getting the issue that the openvpn client get disconnected every 2-3 hours. Here are the logs for the issue:
Tue May 28 11:47:55 2019 us=18180 [server] Inactivity timeout (--ping-restart), restarting
Tue May 28 11:47:55 2019 us=18781 TCP/UDP: Closing socket
I had tried to increase the NatTcpTimeout and NatUdpTimeout for VirtualRouter and keepalive for client config file.but this didn't helped.
I want myself to connect for atleast for 8 hours without disconnect. Can somebody help me with this?
Please suggest somethis to fix this.
Client config file:
dev tun
proto udp
remote xxxxxxxxxxxxx 1194 udp
cipher AES-128-CBC
auth SHA1
resolv-retry infinite
nobind
persist-key
persist-tun
client
verb 4
auth-user-pass
remote-cert-tls server
auth-nocache
reneg-sec 0
keepalive 30 120
<ca>
..
</ca>
<cert>
..
</cert>
<key>
..
</key>
openvpn client get disconnected every 2-3 hours
-
- Posts: 2
- Joined: Tue May 28, 2019 9:32 am
-
- Posts: 6
- Joined: Wed May 22, 2019 4:21 am
Re: openvpn client get disconnected every 2-3 hours
> I want myself to connect for atleast for 8 hours without disconnect. Can somebody help me with this?
Please suggest somethis to fix this.
Instead of using the OpenVPN client, have you considered using the Softether SSTP client?
Please suggest somethis to fix this.
Instead of using the OpenVPN client, have you considered using the Softether SSTP client?
-
- Posts: 2
- Joined: Tue May 28, 2019 9:32 am
Re: openvpn client get disconnected every 2-3 hours
Hi,
No I have not used SSTP client.
Can you suggest something for openvpn client? I can share server side config file if you want.
Thanks
No I have not used SSTP client.
Can you suggest something for openvpn client? I can share server side config file if you want.
Thanks
-
- Site Admin
- Posts: 2078
- Joined: Sat Mar 09, 2013 5:37 am
Re: openvpn client get disconnected every 2-3 hours
Is the NAT session timed out?
How about using TCP instead of UDP?
How about using TCP instead of UDP?