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

    Remote IP ping for OpenVPN?

    Scheduled Pinned Locked Moved OpenVPN
    1 Posts 1 Posters 369 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.
    • S
      sseidel
      last edited by

      Hi,

      I am looking for a way to specify which remote IP OpenVPN will ping to determine if the tunnel is up.

      So I know that the –ping option will ping the remote OpenVPN gateway, but for complex reasons I need it to ping another IP in the remote subnet and then subsequently reconnect/SIGHUP1 if this ping fails. Is there a way to accomplish this? From looking at the OpenVPN docs I think it isn't, but maybe I have overlooked something...

      What other options to I have? Ideally I would have a configurable ping frequency, like 4 seconds or even constantly ping and reconnect when more than 4 pings fail in a row.

      Stefan

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.