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

    Dual WAN - Specific Ports on each Gateway

    Scheduled Pinned Locked Moved Firewalling
    6 Posts 3 Posters 1.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.
    • N Offline
      necronen
      last edited by

      Good day, I am completely confused on how to make Firewall Rules which regards in pointing a specific ports to a specific gateway.

      For e.g:
                  Port:      80            –--- > WAN (default) ISP 1
                  Port:      Others      ----- > OPT1 ISP 2

      I want to set-up a pfbox with no fail over & load balancing feature, I just need the traffic routing to a specific gateway with specific ports with it. Co'z every time I am about to create rules, I am nowhere to find placing the rules that I have created, (Floating, WAN, LAN, or OPT). Can someone do share his talents on how to make a simple Firewall Rules like I have mentioned?

      Thanks a lot in advanced!  ;)

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

        Use "Policy Routing"

        http://doc.pfsense.org/index.php/What_is_policy_routing%3F

        For others questions: http://doc.pfsense.org/index.php/Main_Page

        1 Reply Last reply Reply Quote 0
        • N Offline
          necronen
          last edited by

          Thanks ptt

          I've read about that, yet for me and to those who are not so good with networking might get more confused in terms of reading guides.
          Would you mind sharing examples of your own Firewall Rules and care of explaining them? I know this sounds demanding but I hope you'll understand.
          Thanks once again! ^_^

          1 Reply Last reply Reply Quote 0
          • J Offline
            Jey-B
            last edited by

            Rules > Lan (for allow PC on LAN to use Internet).

            Ex : all trafic must use aDSL1 (WAN) excep WEB's rule, you must configure WAN1 on "Default Gateway" (System > Routing = edit WAN1 gateway). Next, you must setup WEB Rule to use a non default gateway.
            Create a WEB rule (port 80), and in "Advanced features" (when you edit rule), go to GATEWAY and choose the good gateway for this traffic (OPT1).

            1 Reply Last reply Reply Quote 0
            • N Offline
              necronen
              last edited by

              Thanks jey-b for additional info about Firewall Rule.

              LAN –-|
                       (ISP 1 Default) Any rule - Set for Online Gaming.
                       |      
                       Rule 1 ------ Port 80 to Gateway ISP 2
                       |
                       Rule 2 ------ Any Rule to default gateway

              Will this kind of set rules separates Internet Browsing (Port 80) from default the gateway?

              TIA!

              1 Reply Last reply Reply Quote 0
              • J Offline
                Jey-B
                last edited by

                yes :)
                try changes with my-ip.com :p

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