• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Feature request : OpenVPN auto-connect if lost

Scheduled Pinned Locked Moved OpenVPN
2 Posts 2 Posters 244 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    blanc_et
    last edited by Oct 17, 2020, 5:08 AM

    Re: OpenVPN Auto Restart upon drop

    I read this old post. I have not come across a fix that I could use.

    Basically, after setting up the OpenVPN client, many times after it is working just fine, the connection is lost. I think it's lost on the server side. Because if I had been given a 20.20.0.5, when I click the restart wheel suddenly the whole conection displays go red and down, for a second, and back to green with a new 20.20.0.8 for example. And this only will happen if I actively go and click. And for the longest time I could not figure this out as it seemed okay, -green-, (so connected), but is really wasn't.
    How about a setting that would automatically restart the client/service if it finds the connection is dead?

    1 Reply Last reply Reply Quote 0
    • B
      bingo600
      last edited by bingo600 Oct 17, 2020, 7:00 AM Oct 17, 2020, 6:55 AM

      I have several OVPN Lan2Lan tunnels , and i never experience that the client does not keep trying to connect to the server.

      I do have the package service_watchdog installed on both pfsense's , and have added all openvpn instances to the service watchdog.

      8ad5a862-54f7-434a-9d39-4cdc20e84991-image.png

      I occationally see service watchdog , starting unbound or ntopng.
      Can't remember if i have seen it start an openvpn instance.

      If you're talking about a RoadWarrior (dialin) OpenVPN client.
      I have not used a connection long enough to see it fail a connection.

      But i suppose you mean a L2L/S2S connection

      Edit:
      What i often see is that the "Dashboard" indicates the OpenVPN tunnel isn't up (Red down arrow) , but that is some kind of "Status mismatch" , because i can mostly connect to the remote site , even if the status says otherwise.

      That would be nice to get the "status arrows" fixed, so they reflect connectivity , instead of "whatever they use now"

      The same mismatch occurs on the Status -> OpenVPN page

      /Bingo

      If you find my answer useful - Please give the post a 👍 - "thumbs up"

      pfSense+ 23.05.1 (ZFS)

      QOTOM-Q355G4 Quad Lan.
      CPU  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
      LAN  : 4 x Intel 211, Disk  : 240G SAMSUNG MZ7L3240HCHQ SSD

      1 Reply Last reply Reply Quote 0
      1 out of 2
      • First post
        1/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received