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

    Gateway Groups Switching

    Scheduled Pinned Locked Moved OpenVPN
    1 Posts 1 Posters 348 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.
    • M
      molliver
      last edited by

      Hi,

      When using OpenVPN using Gateway Groups where you have a tiered service, OpenVPN correctly establishes using Tier 1, then drops to Tier 2 as the Tier 1 gateway fails. However, if the Tier 1 gateway then comes back it does not switch automatically back to the Tier 1 GW unless the Tier 2 GW fails.

      This is not the outcome we require as the Tier 2 connection is more costly and slower hence we need to switch straight back.

      As a workaround I am looking at using a Cron based check to see if the Tier 1 link is up but the VPN connection is going via Tier 2 or 3 then kill the VPN and let it re-establish.

      Currently however, I have the cron installed but can not seem to be able to kill the OpenVPN client connection. (this is the client end with multiple GW's)

      Any idea a) how to kill the VPN or b) fix the gateways to fail back up wards.

      On the gateways it does look like new connections do honour the correct routing it appears however, that nothing is poking OpenVPN to tell it a better route is now available.

      Mark

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