OPNsense Forum

Archive => 16.1 Legacy Series => Topic started by: lotusje on June 08, 2016, 06:15:09 pm

Title: Openvpn client needs restart after boot to properly work?
Post by: lotusje on June 08, 2016, 06:15:09 pm
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
Title: Re: Openvpn client needs restart after boot to properly work?
Post by: franco on June 08, 2016, 09:09:49 pm
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