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

    2 Wan combine to 1 Lan

    Scheduled Pinned Locked Moved Routing and Multi WAN
    18 Posts 6 Posters 14.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.
    • K
      kzack
      last edited by

      Hello everybody !
      I'm very new to linux and pfsense .
      pfsense 2.0-RC3 (i386) OS  installation already finished on PC and right now on the dashboard with 3 NIC cards .
      i want to combine 2 Wans to 1 Lan with pfsense server (as a Gateway for client PC ).
      pls explain step by step configuration with screenshot or something like that  (As i'm just a beginner).

      Thanks in advance.

      Regards,

      Kzack

      1 Reply Last reply Reply Quote 0
      • pttP
        ptt Rebel Alliance
        last edited by

        pfSense is not Linux, is FreeBSD based

        http://forum.pfsense.org/index.php/topic,16923.0.html

        http://doc.pfsense.org/index.php/Main_Page

        1 Reply Last reply Reply Quote 0
        • K
          kzack
          last edited by

          Isn't possible to config with pfsense as shown in my Topology ?

          I've two different ISP .

          Regards,

          Kzack

          1 Reply Last reply Reply Quote 0
          • K
            kzack
            last edited by

            Any help ?

            Refreshing everytime on this thread and waiting reply.

            Regards ,

            Kzack

            1 Reply Last reply Reply Quote 0
            • Cry HavokC
              Cry Havok
              last edited by

              Patience. You're not paying anybody to help you, so people will help you in their own time. Waiting less than 3 hours before "bumping" the thread just makes you look like the kind of person people don't want to help.

              It can handle multiple WAN links (that's the whole point of multi-WAN), but unless you really know what you're doing I would highly advise you to use different subnets for each WAN link and the LAN (eg 172.17.1.0/24 for WAN1, 172.17.2.0/24 for WAN2 and 192.168.1.0/24 for your LAN).

              1 Reply Last reply Reply Quote 0
              • K
                kzack
                last edited by

                Thank cry havok.

                I'll try as you advise . And let you know how it' s going.

                Sorry for my bad English  .

                Regards ,

                Kzack

                1 Reply Last reply Reply Quote 0
                • M
                  Metu69salemi
                  last edited by

                  You can have loadbalancing and failover setups, just use search. That is no impossible task

                  1 Reply Last reply Reply Quote 0
                  • K
                    kzack
                    last edited by

                    Thank metu69.

                    I Wanna config as you said after combination of 2 wan to 1 LAN .

                    Regards,

                    Kzack

                    1 Reply Last reply Reply Quote 0
                    • K
                      kzack
                      last edited by

                      Hi cry haVok !

                      I already config different subnets as you advise.

                      Subnets for each WAN link and the LAN (172.17.1.0/24 for WAN1, 172.17.2.0/24 for WAN2 and 192.168.1.0/24 for your LAN).

                      Pls lead me for next step if you get free time.

                      Regards ,

                      Kzack

                      1 Reply Last reply Reply Quote 0
                      • Cry HavokC
                        Cry Havok
                        last edited by

                        Can I recommend that you read the fine documentation, easily found from the pfSense home page.

                        1 Reply Last reply Reply Quote 0
                        • K
                          kzack
                          last edited by

                          loadbalancing and failover working well now.
                          but the speed is not double as i expected (2MB).

                          Although i'm refreshing  Routing and Multi WAN thread every hours, cant see
                          any hint about double speed.
                          How can i config to get double speed?

                          Any help would be greatly appreciated.

                          Regards,

                          Kzack

                          1 Reply Last reply Reply Quote 0
                          • M
                            Metu69salemi
                            last edited by

                            speedtest.net can give guide a good quess what is your maximum speed.
                            every protocol doesn't support loadbalancing(https), then it's only natural to have one wan connection speeds

                            1 Reply Last reply Reply Quote 0
                            • K
                              kzack
                              last edited by

                              I've 2 ADSL with 2 different ISP  . Each got  1MB speed .I already tested with speedtest.net and other ways. But I only got 1MB in speed

                              Regards,
                              Kzack

                              1 Reply Last reply Reply Quote 0
                              • Cry HavokC
                                Cry Havok
                                last edited by

                                @kzack:

                                loadbalancing and failover working well now.
                                but the speed is not double as i expected (2MB).

                                Although i'm refreshing  Routing and Multi WAN thread every hours, cant see
                                any hint about double speed.
                                How can i config to get double speed?

                                Any help would be greatly appreciated.

                                Start by reading the sticky.

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

                                  I tried this kind of setup before during the first release of 2.0 and I got a low performance so I quited…

                                  I will give you my setup and please try to improve...

                                  Wan1 gateway is 192.168.0.1/24 
                                                                                  switch/hub  >  Pfsense IP 192.168.0.100/24
                                  Wan2 gateway is 192.168.0.2/24  /

                                  1 Reply Last reply Reply Quote 0
                                  • Cry HavokC
                                    Cry Havok
                                    last edited by

                                    Frozen_Fire, please ask a separate question so that your problem and kzack's aren't confused.

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

                                      sorry sir, mis-interpreted the topic

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        kragebein
                                        last edited by

                                        Hey, i made a simple guide for everyone to follow on how to setup multiwan (2x wan 1x LAN).
                                        The guide assumes that you have already configured pfsense with both wans.
                                        it's so simple and beautiful.
                                        Step 1-3 sets up the load balancing.
                                        step 4 is about giving specific computers, or ports (services) direct access to only one of the WAN's - in other words, it won't be load balanced.
                                        This helps with certain webpages like facebook or very secure webpages.
                                        hope it helps

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