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

    OpenVPN Client and Multi-WAN

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 422 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
      milindhvijay
      last edited by

      Hello,

      I connect to my VPN provider over OpenVPN. I have 2 ISP connections coming into pfSense. Default is ISP-1. I want to use ISP-2 only for OpenVPN. I tried selecting interface of ISP-2 only but when I disconnect ISP-2, OpenVPN switches to using ISP-1. Secondly, I created a gateway group with ISP-2 as Tier-1 and ISP-1 as Never but still see the same habit, OpenVPN switches to ISP-1 when ISP-2 goes down.

      Also, openVPN doesn't switch back when ISP-2 is back up. On OpenVPN connection status it shows local addess as "pending".

      Any help would be greatly appreciated. Thanks.

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @milindhvijay
        last edited by

        @milindhvijay
        You can block the OpenVPN clients outbound traffic on WAN1 with a floating rule with these settings:
        interface: WAN1
        source: This firewall
        destination: OpenVPN server
        dest. port: whatever you use.

        1 Reply Last reply Reply Quote 1
        • M
          milindhvijay
          last edited by

          Thanks, that seem to solve the issue but feels like a workaround.

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