OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 16.1 Legacy Series »
  • Openvpn client needs restart after boot to properly work?
« previous next »
  • Print
Pages: [1]

Author Topic: Openvpn client needs restart after boot to properly work?  (Read 2846 times)

lotusje

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
    • View Profile
Openvpn client needs restart after boot to properly work?
« 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13929
  • Karma: 1208
    • View Profile
Re: Openvpn client needs restart after boot to properly work?
« Reply #1 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 16.1 Legacy Series »
  • Openvpn client needs restart after boot to properly work?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2