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

    2 Wan Routing By IP

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 2.4k 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.
    • C
      cybersoul
      last edited by

      I've 2 ADSL Router
      adsl1 : 192.168.1.254  adsl2 : 192.168.2.254
      I want to route everything to adsl1 and adsl2 for specify IP such as game server.
      How can i do that? Anyone know how it can do.

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

        If this server is accepting natted connections from the outside it will stay on the wan the connection was established.

        To make sure any other traffic from this IP will always run on a specific WAN create a pass rule with source <ip-gameserver>port <any>destination <any>port <any>gateway <preferred wan="">You can add those rules depending on püort, destination, source….the gateway specified is the WAN that will be used outbound. This way you can send specific traffic to WAN1, other traffic to WAN2 and the rest loadbalanced between WAN1/WAN2.

        Make sure you have correct order of the rules as the rules are applied on a first match basis.</preferred></any></any></any></ip-gameserver>

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