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

    DUAL WAN / Loadbalancing ~ problems

    Scheduled Pinned Locked Moved Routing and Multi WAN
    13 Posts 4 Posters 5.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.
    • R
      rob_v
      last edited by

      Hello,

      I'm new with Pfsense and router (dual WAN / loadbalancing).
      I downloaded the FAQ how to setup a dual WAN with loadbalancing and failover.
      But… It doesn't work, can someone help me?

      I got the config (backup) file overhere:

      http://www.fearfm.nl/downloads/config-router-test[1].fearfm-home-20060920225248.xml

      Thank you.

      Kind regards Rob

      1 Reply Last reply Reply Quote 0
      • R
        rob_v
        last edited by

        By the way, only the WAN interface work (WAN2 not).
        When i take a look to the diagnose i see when i disconnect a cable so both wan's got a connection with inet.

        1 Reply Last reply Reply Quote 0
        • H
          hoba
          last edited by

          Try following http://wiki.pfsense.com/wikka.php?wakka=OutgoingLoadBalancing . I think it's a bit more straight forward.

          1 Reply Last reply Reply Quote 0
          • R
            rob_v
            last edited by

            Thx i will try.

            Btw my router is crashed ? (can't find the XML file after mounting the drive's)
            This is happening after making a backup for this topic.

            1 Reply Last reply Reply Quote 0
            • S
              sullrich
              last edited by

              Upgrade to http://www.pfsense.com/~sullrich/1.0-SNAPSHOT-09-18-06/

              1 Reply Last reply Reply Quote 0
              • A
                acarli
                last edited by

                Make sure you selected the LoadBalancer as Gateway in the LAN->WAN Rule.
                In Loadbalancing Tutorial it is called "Balancer". (I´ve lost 2 days to figure this)

                Anderson

                BalancingGateway.JPG
                BalancingGateway.JPG_thumb
                BalancingGateway.JPG_thumb

                1 Reply Last reply Reply Quote 0
                • R
                  rob_v
                  last edited by

                  Thank you!
                  I will try to reinstall the router with the new software and check the config files.
                  I will put the results over here!

                  Kind regards Rob

                  1 Reply Last reply Reply Quote 0
                  • R
                    rob_v
                    last edited by

                    THX !
                    That Balancer thing was a problem!
                    I fixed that and after that the problem was solved :)

                    But when i disconnect wan 1 i got inet and i can trace and when i disconnect wan2 i got inet and i can't trace anymore ?
                    It seems very weird.

                    1 Reply Last reply Reply Quote 0
                    • H
                      hoba
                      last edited by

                      Use one DNS server from each WAN for your pfSense. Also add a static route to the OPT-WAN DNS/32 though the OPT-WAN gateway to not lose dns resolution when one WAN goes down.

                      1 Reply Last reply Reply Quote 0
                      • R
                        rob_v
                        last edited by

                        Thx.
                        I will try that :)

                        1 Reply Last reply Reply Quote 0
                        • R
                          rob_v
                          last edited by

                          It works :) thx.

                          But right now i got another problem…..

                          I want to connect with RDP from WAN1 to LAN and not from WAN2 to LAN.
                          I want to connect with FTP from WAN1 and WAN2 to LAN but 2 does have a higher prio.
                          How can i  do that ? with traffic shape?
                          And those firewall rules doesn't work any more after loadbalancing?

                          1 Reply Last reply Reply Quote 0
                          • H
                            hoba
                            last edited by

                            For the RDP it works just if you had a single WAN. Create a portforward at WAN and let the firewallrule be autocreated. Just don'T create a portforward at WAN2 and it only will be available from WAN1.

                            FTP on WAN1 and WAN2 might become a bit tricky due to the ftp helper but it might work for passive modes with ftphelper disabled at WAN1 and WAN2 if you forward port 21 and the range that your ftp-server is using. However you can't give priority to one of the WANs. The trafficshaper only supports 2 interfaces atm and 2WANs+1LAN=3.

                            What do you mean with firewallrules don't work anymore after loadbalancing?

                            1 Reply Last reply Reply Quote 0
                            • R
                              rob_v
                              last edited by

                              Thank you for your reply.

                              What i mean with firewall rules don't working after loadbalancing, i mean:
                              I tryed to portforward like your example and that doesn't work.

                              Anyway i also tryed the loadbalancing but it isn't what i expected (like the traffic shaper doesn't work with more then 2 lan/wan's)

                              But maybe a stupid question can you made for me a (example) config file with the next features:

                              Dual Wan
                              IP 10.1.1.10
                              gateway 10.1.1.1

                              IP 192.168.1.4
                              gateway 192.168.1.1

                              Single lan

                              IP 10.10.0.1
                              DHCP

                              With firewall rules :

                              Incoming:
                              port 21 on gateway 10.1.1.10 goto lan ip 10.10.0.20
                              RDP client on gateway 192.168.1.1 goto lan ip 10.10.0.20

                              Outgoing:
                              port 80 from lan ip 10.10.0.20 works with gateway 10.1.1.10
                              Port 80 from lan ip 10.10.0.21 works with gateway 192.168.1.1

                              Why? becuase i tryed this but it doesn't work after using the loadbalacing settings.

                              Thank you!

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