OpenVPN sometimes doesnt allow network traffic

Started by jensl, June 08, 2022, 12:05:11 PM

Previous topic - Next topic
June 08, 2022, 12:05:11 PM Last Edit: June 08, 2022, 03:05:13 PM by jensl
Hello,

i have an opnensene running with three openvpn servers all with an different port.
The connection to the first twos (one is for admins, the second for the home office) is working fine.
the third one is making some troubles, that are hard to reproduce.

I limited the third one with the firewall to allow only a connection to one ip, besides that all the settings are the same as they are described in the documentation.

Sometimes i get clients who are conencted (opensense and the client are showing that they are) but cant reach that server. In some occasssions i saw that it took like 1-2 minutes after connection and then it worked...

Do u have any idea what i am doing wrong?

Does it work immediately when you restart the tunnel?

sadly no - sometimes i had the feeling it worked that way, but as this isnt reproducable i have to say no

Is this perhaps a routing issue?  I would try to find out what happens to the traffic which either doesn't reach the server or doesn't get an answer, by checking the firewall log and perhaps try with a packet capture.  Once it has become visible what's going on, maybe it's possible to fix the problem.