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

    (Potentially a Bug) OpenVPN uses a gateway outside of the selected gateway group

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 427 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
      mzarrugh
      last edited by

      First of all, I'm not sure if this fits here or under openvpn section. Sorry if it's the wrong one.

      When all the wan connections in a gateway group that openvpn uses are down, the vpn reconnects using any wan outside of the the specified gateway group and sticks to it even after a wan in the gateway group becomes online. The only solution is to restart the openvpn service.

      I noticed this hence the significant latency difference between the wans in the group and the one outside it (vsat connection).

      Running pfSense 2.3.4

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        So you have:

        WAN1
        WAN2
        WANVSAT

        And a gateway group of WAN1 and WAN2

        OpenVPN Client or Server?

        Presuming Client. And you have the OpenVPN Client bound to the gateway group containing WAN1 and WAN2?

        And if both gateways are down, the client connects via the VSAT?

        Which WAN is set as the default gateway? Do you have default gateway switching on? (System > Advanced, Miscellaneous)

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

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