MultiWAN - Need help specifying the outgoing WAN IP for LAN clients

Started by fearz, October 17, 2024, 10:40:52 PM

Previous topic - Next topic
Hi,

As the title says, I have 2 WAN interfaces grouped in 1 group which I use as my gateway for my firewall rules & its fine.

It's just that sometimes my WAN IP is WAN1 and sometimes its WAN2.

How to make it that all LAN clients use the outgoing WAN1 IP while still retain the combination speed of both?

Thanks!

Quote from: fearz on October 17, 2024, 10:40:52 PM
How to make it that all LAN clients use the outgoing WAN1 IP while still retain the combination speed of both?

That's not possible. Any connection using WAN1 IP must also go out WAN1 leaving WAN2 unused. The provider delivering WAN2 will not accept anything with a WAN1 source address.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Thanks for your reply..

But i'm using the WANGR  (group) combining both connections, wouldn't NAT 1:1 allow me to tell which LAN IP to use which WAN IP?

If you want some LAN hosts to prefer WAN1 whilst others prefer WAN2 (but still have backup in both cases, if one ISP goes down), perhaps you could create two gateway groups - one with WAN1 higher priority, and the other with WAN2 higher, and create some firewall rules that use one or the other based on source address (or some other criteria). This would be a rather manual form of load distribution, but....

... as Patrick said; you can't use WAN2's bandwidth with WAN1's IP address....

Can you please explain how to do so?

You mean by setting Tier 1 & 2?

When I set it up as Tier 1 & 2 bandwidth is not combined.

I have to set it up as Tier 1 & Tier 1.

Yes, with tiers - you'd create groups - you could name them something like "WAN1-then-WAN2" and "WAN2-then-WAN1".

There is no way to have one gateway group that uses both gateways simultaneously and have predictable public IP - traffic will always use the public IP associated with the pipe that it goes out through.