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

    LanIP to Wan2 [Solved]

    Scheduled Pinned Locked Moved Routing and Multi WAN
    5 Posts 2 Posters 1.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.
    • demonmaestroD
      demonmaestro
      last edited by

      I have been searching through the threads and coming up with a blank for what I am trying to do.

      I am trying to get it where one of my computers lets say (192.168.100.100) to route its traffic out of my second wan (Not Default wan).
      Problem is the different ways I have tried it keeps routing all traffic from the computer to the default wan and not wan2.

      Tried the following rules. (one at a time)

      Tried 1:
      Action: pass
      Interface: LAN
      Source: 192.168.100.100
      Gateway: wan2

      Tried 2:
      Action: Pass
      Interface: LAN
      Protocol: any
      Source: 192.168.100.100
      Destination: wan2 address

      Tried 3:
      Action: Pass
      Interface: LAN
      Protocol: any
      Source: 192.168.100.100
      Destination: wan2 net
      Gateway: wan2

      Tried 4:
      Action: Pass
      Interface: wan2
      Source: 192.168.100.100

      I am not trying to open ports for this computer as of yet. I am just trying to route all traffic from this computer out wan2.

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

        Option 1 should be fine.

        Be sure to put the rule above the default rules. Also reset states

        1 Reply Last reply Reply Quote 0
        • demonmaestroD
          demonmaestro
          last edited by

          Cool beans that worked.

          I guess it didn't work the first time I tried it due to it not being on top of everything.  ???

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

            rules are evaluated top–>down

            so if there is a rules higher up, that also matches, then the ones below won't be processed.

            1 Reply Last reply Reply Quote 0
            • demonmaestroD
              demonmaestro
              last edited by

              Action: pass
              Interface: LAN
              Source: 192.168.100.100
              Gateway: wan2

              with doing it this way and also having Destination port range set to default (other) with nothing inputted. it wont open all ports to that computer correct?

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