Instable ping issue

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
tobiascapin
OpenVpn Newbie
Posts: 4
Joined: Mon May 18, 2020 9:12 am

Instable ping issue

Post by tobiascapin » Wed Jun 23, 2021 3:51 pm

I have a VPN with 3 client connected with 3 different providers.
They have a very unstable connection. But both client and server has a good ping with other public hosts.
Image

I have tried to add this to the client configuration.

Code: Select all

mssfix 1400
And also to switch to tcp protocol, but without any success.


This is the server config:
server

port 1194
proto udp
dev tun
ca ../cert/ca.crt
cert ../cert/server.crt
key ../cert/server.key
dh ../cert/dh2048.pem
server 10.8.0.0 255.255.255.0
topology subnet
keepalive 10 120
persist-key
persist-tun
status ../log/openvpn-status.log
verb 3


and this is the client config:
client
client
dev tun
proto udp
resolv-retry infinite
nobind
persist-key
persist-tun
verb 3
remote myendpoint 1194]


The only "strange" thing is that all clients are using the same client certificate.
Do you have any idea? Many thanks.

tobiascapin
OpenVpn Newbie
Posts: 4
Joined: Mon May 18, 2020 9:12 am

Re: Instable ping issue

Post by tobiascapin » Wed Jun 23, 2021 4:14 pm

Seems that "fragment 1400" and "mssfix 1400" in both server and client configuration is helping to have a stable connection.
I cannot understand why.

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

Re: Instable ping issue

Post by TinCanTech » Wed Jun 23, 2021 5:37 pm

Read your server log file.

paulchinky501
OpenVpn Newbie
Posts: 1
Joined: Sun Jul 18, 2021 7:39 am

Re: Instable ping issue

Post by paulchinky501 » Sun Jul 18, 2021 7:39 am

Damm even I am having a similar kind of issue, I have searched all over the internet and even have posted on number of threads on different forum, no solution seems to work. I am really frustrated, can anyone of you here help me resolve this issue, I am very much tired now.

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

Re: Instable ping issue

Post by TinCanTech » Sun Jul 18, 2021 8:14 pm

@paulchinky501 .. "Mee too" comments don't help anybody; are actually quite annoying and I'm not easily annoyed..

Here is how you get help:
viewtopic.php?f=30&t=22603

Post Reply