Openvpn client needs restart after boot to properly work?

Started by lotusje, June 08, 2016, 06:15:09 PM

Previous topic - Next topic
Hello all.
I might have found an issue with opnsense as openvpn client.

In my setup opnsense connects to a vpn server and a handfull of clients use this connection as per firewall rules.

The problem is when i boot/reboot the system it connects to the vpn. The connection is visible in the dashboard as well as when verifying via the openvpn connection status tab. However despite this, none of the clients that are supposed to use the vpn tunnel reach the internet. Just local ip's.

The way I found to remedy this is by simply restarting the vpn client via the openvpn connection status tab.

Is this normal behaviour? Is it a bug? Or am I missing something?

Any input would be appreciated.

Greets,

lotusje

Hi lotusje,

Coincidentally, there was a ticket just last week that described a similar issue with OpenVPN during boot that was then fixed by manually restarting the OpenVPN instance.

https://github.com/opnsense/core/issues/980

You can apply the fix enclosed by running the following on an 16.1.16+ install:

# opnsense-patch 44cd7ae

I can't guarantee that this will fix it, but it's worth a try.


Cheers,
Franco