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

    MultiWAN + static routes through WAN2

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 2 Posters 923 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.
    • B Offline
      blasterdick
      last edited by

      Hi to all and sorry about my English..

      The trouble is:

      I have pfsense with multiwan + load balancing (WAN1 & WAN2 - static IPv4). Also i need to set traffic to go to some servers in inetrnet only through WAN2. But, if I do so (static routes in System -> Routing), it doesn't work at all. Firewall rules do nothing. And if i turn of rule on my LAN interface "any to any through Balacing", than loadbalancing turns off and static routes do their job.

      The question is:

      How can I make a friendship between static routes and loadbalancing?

      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • P Offline
        phil.davis
        last edited by

        You don't need static routes. Just put rule/s above your general "Balancing" gateway group rule. Those rules should say:
        Pass source LANnet, destination "IPs of those servers", gateway WAN2

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • B Offline
          blasterdick
          last edited by

          If it should in "LAN" tab of Firewall, than I've already did this. No effect..

          1 Reply Last reply Reply Quote 0
          • P Offline
            phil.davis
            last edited by

            The specific rule for traffic to gateway WAN2 has to go above the general rule for traffic to "Balancing" gateway group.
            Post your gateways, gateway groups and LAN rules and we can check.

            As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
            If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

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