Navigation

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

    Routing and priorities

    Routing and Multi WAN
    2
    6
    2937
    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
      nprzybilla last edited by

      Hello,

      I need a setup for this scenario:

      I have two uplinks:
      My main uplink is 195.XXX.XXX.XXX
      My secondary is 83.XXX.XXX.XXX

      PF Sense should act as a transparent firewall for these two uplinks.

      On the LAN Port should be a managed switch where all the servers are connected. Some of the servers have IP's from "main uplink" and some from "secondary".

      Is this possible ?

      And the second:

      Can I define that all requests from my LAN to WAN to a special IP 207.44.xx.xx are routed through the "secondary" Uplink?

      Thnaks and best regards

      Niels

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

        The loadbalancer won't work with tranparent=bridged scenarios. It uses a gatewaypool to share the traffic between different links which needs routing.

        However, if you set it up with routing the answer to your second question is yes. Just create a rule in front of your loadbalancing rule and use the secondary link as gateway for this.

        1 Reply Last reply Reply Quote 0
        • N
          nprzybilla last edited by

          Hi,

          but with this two uplinks is not for load balancing. That is just for bigger bandwith.

          Best regards

          Niels

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

            I think I now get what you are trying to do. It should work with 4 interfaces:

            LAN bridged to WAN
            LAN2 bridged to WAN2

            Check "enable filtering bridge" at system>advanced.

            It should even work if LAN and LAN2 are vlans I think (as you have a managed switch).

            Another option would be to use this in a routing scenario with 1:1 NATs and just 3 interfaces. Your servers have to move to a private IP-Range then in the LAN-subnet. Though it might be a bit more work at the beginning I think this setup gives you more flexibility (move one server from WAN1 to WAN2, incoming loadbalancing for your servers, …).

            1 Reply Last reply Reply Quote 0
            • N
              nprzybilla last edited by

              and one last question:

              Will send PFSense Traffic that goes from main <-> secondary directly to the other network or will it route the traffic to the hole internet ?

              Best regards

              Niels

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

                Firewallrules will only let the traffic through you specify, so no, unless you set it up wrong it won't route the whole internet ;-)

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