Lan2 to the Internet via Wan2
There are two internal networks, Lan1 and Lan2, two WANs (Wan1, Wan2).
Wan interfaces receive IP via DHCP.
It is necessary to make Lan2 go online through Wan2.
To do this, I made an Outbound NAT rule, specifying source - lan2_net, Source port - *, Destination - *, Destination port- *, Nat address - WAN2 address.
But Internet access for Lan2 via Wan2 does not work.
What else needs to be done?
The outbound NAT is one necessary part, but it does only NAT.
The second is the routing. When you want to direct certain internal devices out to the non-default gateway you have to do this with policy routing.
I recently explained how to do this in another thread: