Separate NAT for different internet connections
-
I have separate internet connections (WAN1 and WAN2) and multiple internal subnets/VLANs. For most of my subnets, I want to use WAN1 for outbound NAT. For one in particular, I want to use WAN2 for outbound NAT.
VLAN30 (192.168.4.0/22) -> WAN2 outbound NAT
I've got everything configured and all my traffic for WAN1 seems to be working fine. However, when I configure outbound NAT to use WAN2 for my VLAN30 subnet, that traffic is still being sent out WAN1. I'm not sure what I'm missing. Perhaps I need some type of static route to move traffic from VLAN30 to the WAN2 nat?
Let me know what info, screenshots, etc I can provide to clarify. Appreciate any help!
I have confirmed I'm able to pass traffic on WAN2 and there don't seem to be any issues there. Perhaps I need some type of static
-
At a guess WAN1 is your default gateway, so unless you alter the 'default' outbound rule within the VLAN30 interface rulesets, then it will just use the default gateway - WAN1.
So, the fix for this...you just need to edit the default outbound rule within the VLAN30 rules and change the 'Gateway' in advanced settings to WAN2, that will get that VLAN leaving via that gateway and thus using the outbound NAT for WAN2.
-
@crucialguy That absolutely did the trick! Thank you for the guidance!!!
-
@jasonharper Could you send me an example print please?