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

    OpenVPN does not work with dual WAN load balancer (solved)

    Scheduled Pinned Locked Moved 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
    5 Posts 3 Posters 8.0k 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.
    • O
      olivier1010
      last edited by

      Hi.

      As soon as i activate the load balancer (failover mode) for a dual WAN setup, OpenVPN stop to work.

      I've static routes for the VPNs, because PFsense is a site to site OpenVPN server linking to many external sites.

      Seems like the LAN rules are not working for OpenVPN.

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        After you changed the firewall rule to use the balancer:
        Did you create another rule above this one, with as destination the subnet(s) reachable through openVPN and the default gateway?

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • O
          olivier1010
          last edited by

          No i didn't do this.

          I can try but i doubt this will work with a dual OpenVPN server setup ?

          I have one server on the first wan, and another with same settings on the other wan. Each one have a rule on the corresponding interface for inbound traffic.

          In load balance or failover mode, the traffic need to be routed on the right WAN, the one used by the client.

          Is it possible to do this ?

          Thanks.

          1 Reply Last reply Reply Quote 0
          • P
            Perry
            last edited by

            http://doc.pfsense.org/index.php/Multi-WAN_OpenVPN

            /Perry
            doc.pfsense.org

            1 Reply Last reply Reply Quote 0
            • O
              olivier1010
              last edited by

              Thanks a lot. Do work now with the rule to send traffoc to the right gateway.

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