OPNsense Forum

English Forums => Virtual private networks => Topic started by: jensl on June 08, 2022, 12:05:11 PM

Title: OpenVPN sometimes doesnt allow network traffic
Post by: jensl on June 08, 2022, 12:05:11 PM
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?
Title: Re: OpenVPN sometimes doesnt allow network traffic
Post by: defaultuserfoo on June 09, 2022, 05:39:48 PM
Does it work immediately when you restart the tunnel?
Title: Re: OpenVPN sometimes doesnt allow network traffic
Post by: jensl on June 10, 2022, 09:24:16 AM
sadly no - sometimes i had the feeling it worked that way, but as this isnt reproducable i have to say no
Title: Re: OpenVPN sometimes doesnt allow network traffic
Post by: defaultuserfoo on June 11, 2022, 02:22:55 AM
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.