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

    Multi-wan: how to force one lan ip to avoid LB and use only a single wan?

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 3 Posters 759 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
      bkandor
      last edited by

      Hi,

      I have a multi-wan setup.  so my base IPv4 rule is directed to an LB gateway.  However,  I have a single computer on my lan that needs to not have it's connections load balanced.  I want to create rules to force it's traffic both in/out to be on wan1.

      I already created a Lan rule at the top where source is a 'single host' set to the machines IP.  And I've set the gateway to wan1.

      But I'm confused how to set the wan1 / wan2 rules to accomplish this?  Is this the right way to do this?

      Thanks!

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

        For outbound connections you need no rules on WAN1/WAN2.

        If you have connections coming inbound and port forwarded/1:1NAT to the host, you would control which WAN gets the traffic with DNS entries. (The connections go to the WAN whose address is in the A record.)

        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
          tim.mcmanus
          last edited by

          I have the exact same setup because one of my servers must use one outgoing WAN from a different LAN.

          See enclosed screen shots, and the server is 10.0.1.240.

          The gateways only fail in one direction, and I have outbound NAT defined too.

          ![Screen Shot 2015-09-04 at 9.01.02 PM.png](/public/imported_attachments/1/Screen Shot 2015-09-04 at 9.01.02 PM.png)
          ![Screen Shot 2015-09-04 at 9.01.02 PM.png_thumb](/public/imported_attachments/1/Screen Shot 2015-09-04 at 9.01.02 PM.png_thumb)
          ![Screen Shot 2015-09-04 at 9.00.42 PM.png](/public/imported_attachments/1/Screen Shot 2015-09-04 at 9.00.42 PM.png)
          ![Screen Shot 2015-09-04 at 9.00.42 PM.png_thumb](/public/imported_attachments/1/Screen Shot 2015-09-04 at 9.00.42 PM.png_thumb)
          ![Screen Shot 2015-09-04 at 9.02.05 PM.png](/public/imported_attachments/1/Screen Shot 2015-09-04 at 9.02.05 PM.png)
          ![Screen Shot 2015-09-04 at 9.02.05 PM.png_thumb](/public/imported_attachments/1/Screen Shot 2015-09-04 at 9.02.05 PM.png_thumb)

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