Navigation

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

    Multi Routers with Multi WAN

    Routing and Multi WAN
    3
    3
    229
    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.
    • Z
      Z70DMS last edited by Z70DMS

      Hello,
      I am trying to setup a multi router network with multi wan and traffic shaping.
      I was able to setup the below settings but I am not sure how to setup the network traffic to direct traffic from HTTP port to Router 2 with ISP 2 and SQL port to Router 3 and ISP 3. Refer to attach picture for example of network diagram.

      Network.PNG

      Currently the network has the following settings
      Router 1:

      • WAN port: ISP 1
      • LAN port: DHCP Server enabled / IP 10.10.10.1

      Router 2:

      • WAN port: ISP 2
      • LAN port: DHCP Server disabled / IP 10.10.10.2

      Router 3:

      • WAN port: ISP 3
      • LAN port: DHCP Server disabled / IP 10.10.10.3

      Server:

      • Static IP 10.10.10.101

      How do I redirect traffic from the server to specific routers?
      HTTP traffic would go to Router 2 then ISP 2
      SQL traffic would go to Router 3 then ISP 3

      Dobby_ S 2 Replies Last reply Reply Quote 0
      • Dobby_
        Dobby_ @Z70DMS last edited by

        @z70dms

        I would try out to put the existing routers to the so called "brigde mode" that they are working only as pure modem.
        Then installing pfSense behind them and configure a proper load balancing, you can choose between three methods;

        • policy based load balancing
        • session based load balancing
        • service based load balancing

        You may also set up a "ratio" between the three connections that is sorting (using them) then fairly.

        #~. @Dobby

        PC Engines APU4D4 - 4 Ports - 4 GB RAM
        pfSense+ 23.01 (ZFS)

        PC Engines APU6B4 - 4 Ports - 4 GB RAM
        pfSense CE 2.7 Devel (ZFS)

        1 Reply Last reply Reply Quote 0
        • S
          SteveITS Rebel Alliance @Z70DMS last edited by

          @z70dms paralleling what Dobby said, this would be much simpler with one router with 3 WAN. The server would have one gateway. Use policy routing to direct traffic.
          https://docs.netgate.com/pfsense/en/latest/multiwan/policy-route.html

          Only install packages for your version, or risk breaking it. If yours is older, select it in System/Update/Update Settings.
          When upgrading, let it finish. Allow 10-15 minutes, or more depending on packages and device speed.
          Upvote 👍 helpful posts!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post