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

    Unable to connect to OPEN VPN server through WAN2 (multiwan)

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 4 Posters 2.1k 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
      mangeshgg
      last edited by

      Hi,

      My network setup is as follows

      MultiWan-Loadbalancing-failover (WAN1 / WAN2)
                                    |
                        PFsense (openvpn)
                        (address pool =192.168.10.0/24)
                                     |
                               LAN Subnet  
                          (192.168.1.0/24)
                                     |
                 Another LAN Subnet (192.168.0.0/24)
               (gateway for this subnet is 192.168.1.3.
                this is actually a proxy and mail server
        this subnet is not directly connected to PFSense)

      I have configured OPENVPN and I am able to connect through WAN1 but I am unable to connect to through WAN2. The Static route added to connect another lan is as follows.

      Interface     Network     Gateway     Description

      LAN    192.168.0.0/24    192.168.1.3    route to lan

      Now the problem is I am not able to connect through WAN2

      if anybody have any solution please write to me

      1 Reply Last reply Reply Quote 0
      • F
        fastcon68
        last edited by

        sounds like OPENVPN may only be running on the first WAN interface.  Maybe anthor Hero member can give you a advise on how to get OPENVPN running on both interfaces.
        RC

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

          Afaik you need to add a line in the "custom option" field.
          I think it was the "–local host" command.

          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
          • B
            Briantist
            last edited by

            Yeah, you can leave off the "–" part of the command, which is for use when you call it from a command line.

            local 1.2.3.4

            Just putting that in the custom options should do it (remember to use a semicolon to separate multiple options if you have more). After you save it look in System Logs -> OpenVPN to make sure it's binding to the correct IP.

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