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

    Wan and wan2 help

    Scheduled Pinned Locked Moved NAT
    9 Posts 3 Posters 2.9k 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
      rana
      last edited by

      hi guys im trying to set up a Rules and im new to pfsense i have 2 cable modems and from time to time i need to restart them i can do this by just remoting in to the modem by 192.168.100.1 and 192.168.100.2 my problem is when i do load balance the firewall does not know where to go so it does not work some time it does now how can i make a Rules that when i type in 192.168.100.1 that it goes to the wan port and when i type in 192.168.100.2 it goes to wan2 please help

      if that dont make any sense this is what im trying to say when i type in google.com i want it to go to wan and when i type in yahoo.com i want it to go to wan2

      1 Reply Last reply Reply Quote 0
      • B
        Briantist
        last edited by

        You should be able to do this by setting up two rules in AON specifically for the 192.168.100.x addresses; one rule for each of them, that forces them to go out the specific interface instead of going to the load balancer. Those rules would come first.

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

          i have no idea how to do that can i get some help i work real good with pic ;D thank you

          1 Reply Last reply Reply Quote 0
          • B
            Briantist
            last edited by

            Actually, it looks like AON is not used in multi-WAN load balancing, it has been a while since I have experimented with it. Have a look at the Multi-WAN Guide on the doc site.

            Edit: Also you should have posted this in the Routing and Multi WAN forum.

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

              i played with a bit and i got thank you for your help

              1 Reply Last reply Reply Quote 0
              • X
                XIII
                last edited by

                since we are a community and we thrive on help from others, please post how you got it working so that others can learn.

                -Chris Stutzman
                Sys0:2.0.1: AMD Sempron 140 @2.7 1024M RAM 100GHD
                Sys1:2.0.1: Intel P4 @2.66 1024M RAM 40GHD
                freedns.afraid.org - Free DNS dynamic DNS subdomain and domain hosting.
                Check out the pfSense Wiki

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

                  ok guys i hope this helps

                  go to your Firewall: Rules and then to Lan click add new rule
                  here are the settings
                  Action= pass
                  Interface= LAN
                  Protocol= TCP/UDP
                  Source= any
                  Destination= for the Type its Single host or alias and then in the address its 192.168.100.2
                  Gateway= wan1 same thing as default

                  now do the same thing for wan2 but change the
                  Destination= for the Type its Single host or alias and then in the address its 192.168.100.1
                  Gateway= wan2 same thing as OPT1

                  make your the rules are on the top then Load Balance
                  so this how you access 2 or more modems with Load Balance on
                  i hope it makes sense if it done let me know i can trying doing a better job hehe
                  oh n guys i could be doing this wrong but this the way i know it works if anyone know of a better way of doing this please feel free to share thank you

                  rules1.JPG
                  rules1.JPG_thumb
                  rules2.JPG
                  rules2.JPG_thumb
                  rules3.JPG
                  rules3.JPG_thumb

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

                    ok guys i have one more problem and if some can help me
                    here is what im doing on my pfsene box i have 2 modems with loadbalance and 1 for xbox so all together i have 3 modems now how can i get the xbox to use the 3ed modems so i dont get any lag ok i know what you i thinking why not just plug the xbox to the 3ed modem well i have alot of video on my network and i stream them all the time so i want to be on my network but when play xboxlive i want the xbox to only use the 3ed and no othere pc or anything to use that 3ed modem but the xbox i hope all of my BS makes sense thank you guys

                    1 Reply Last reply Reply Quote 0
                    • X
                      XIII
                      last edited by

                      so you want xbox to use 3rd connection for Internet  but still access other videos on other lan(s)?

                      the easiest would be to have it on its own network (due to the 2 wans load balancing), let it access only the wan3 and the lan. this only works if you can add another inf to pf. theres another way but its harder.

                      -Chris Stutzman
                      Sys0:2.0.1: AMD Sempron 140 @2.7 1024M RAM 100GHD
                      Sys1:2.0.1: Intel P4 @2.66 1024M RAM 40GHD
                      freedns.afraid.org - Free DNS dynamic DNS subdomain and domain hosting.
                      Check out the pfSense Wiki

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