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

    Dual Wan traffic

    Scheduled Pinned Locked Moved Routing and Multi WAN
    19 Posts 7 Posters 4.7k 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.
    • T Offline
      tomli
      last edited by

      Sorry, what do you mean the point of route A and B?

      Router A and B are connected to ISP A and B company. For example:

      Router A Lan IP is 192.168.1.1
      Router B Lan IP is 192.168.1.2
      PFsense IP is 192.168.1.3 and the default GW is 192.168.1.2.

      I want the incoming traffic  from Router A . PFsense will send the outgoing traffic through the Router A too.

      Thanks,
      Tom

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

        well, why don't you connect your two isp's , directly to pfsense? putting 2 routers in front of pfSense(also a router), seems pointless.

        also router A & router B have the same lan subnet (192.168.1.0/24) …. this is asking for trouble. you can not have multi-wan when you only have 1 WAN-interface on pfsense.
        if you insist of going your double-nat way, i'd advise you to change your "lan' subnets on 1 of your routers to something different.

        1 Reply Last reply Reply Quote 0
        • T Offline
          tomli
          last edited by

          Hi,

          I have one wan interface. Can I route the traffic for different IP? It is mean I can control the outgoing traffic to use which IP (NOT Default GW) for outgoing.

          Thanks.

          1 Reply Last reply Reply Quote 0
          • DerelictD Offline
            Derelict LAYER 8 Netgate
            last edited by

            What?

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 0
            • T Offline
              tomli
              last edited by

              Hi,

              In the Diagram, Client A use IE to browser our Web page.
              Client A => Internet => RouterA=>PFSense => Web Server
              Can PFSense return the data to the ClientA through RouteA?

              In the Diagram, Client B use IE to browser our Web page.
              Client B => Internet => RouterB=>PFSense => Web Server
              Can PFSense return the data to the ClientB through RouteB?

              Please advise.

              Thanks.

              NetDjpg.jpg
              NetDjpg.jpg_thumb

              1 Reply Last reply Reply Quote 0
              • jahonixJ Offline
                jahonix
                last edited by

                Are Route-A and Route-B supposed to hit the same web-server?
                How do you separate traffic TO your 3 web servers from schematic 1?

                1 Reply Last reply Reply Quote 0
                • T Offline
                  tomli
                  last edited by

                  Hi,

                  Yes, Route-A and Route-B hit the same web-server.

                  ISP company route the traffic to our web server. (I cannot control it).

                  Thanks.

                  1 Reply Last reply Reply Quote 0
                  • jahonixJ Offline
                    jahonix
                    last edited by

                    Is that one web server or multiple as in your first drawing?

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      tomli
                      last edited by

                      Hi all,

                      I try to add the below configuration in my /tmp/rule.debug file manually. It can work for me. But I don't know how to add it in GUI Would you mind teaching me?

                      User-defined rules follow

                      anchor "userrules/*"

                      pass  in  quick  on $WAN reply-to { ( re0 192.168.5.22 ),(re0 192.168.5.21) } round-robin inet from any to any tracker 1436785528 keep state  label "USER_RULE"

                      If we cannot add it in GUI, can I save it permanent?

                      Thanks.

                      1 Reply Last reply Reply Quote 0
                      • ? This user is from outside of this forum
                        Guest
                        last edited by

                        Try out using "policy based routing" to manage the internal traffic.

                        • The both routers are often able to work in the so called "bridged modus" only acting as a pure modem
                          (figure 1)  ;)
                        • If not, they can be the front line where the Web Server is standing behind inside a so called "dual homed DMZ"
                          (figure 2)  ::)

                        To reach form the outside the Web Server it is even necessary to open and forward ports,
                        whatever then in normal the web server will not be placed inside the LAN, that you have to open
                        ports directly to the LAN, there for a DMZ will be created today thats the normal and also safe way.

                        tomli.jpg
                        tomli.jpg_thumb

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