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

  • 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?


  • LAYER 8 Netgate

    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.)

  • 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

    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)