Struggling with multiple WAN IP's
Posted: Thu Aug 11, 2022 8:40 pm
Good day everyone!
Okay, so I previously had two routers, which I now replaced with a single CCR1009.
I have three public IP's, all assigned to the same interface, and I have port forwarding figured out from specific WAN IP's.
The issue I have is forcing specific subnets to use specific WAN IP's as their gateways to the outside world.
For example, I would like to force:
Subnet1: 172.16.101.0/24 to use (for example) 1.2.3.4;
Subnet 2: 172.16.102.0/24 to use (for example) 5.6.7.8;
Also some specific devices on other subnets to use a specific WAN IP.
I've tried a few different ways of making this work, but I've been unable to up until now. I saw a post about adding mangle rules and marking the traffic, but the moment I do that it breaks access between my subnets.
Could anyone help please?
Okay, so I previously had two routers, which I now replaced with a single CCR1009.
I have three public IP's, all assigned to the same interface, and I have port forwarding figured out from specific WAN IP's.
The issue I have is forcing specific subnets to use specific WAN IP's as their gateways to the outside world.
For example, I would like to force:
Subnet1: 172.16.101.0/24 to use (for example) 1.2.3.4;
Subnet 2: 172.16.102.0/24 to use (for example) 5.6.7.8;
Also some specific devices on other subnets to use a specific WAN IP.
I've tried a few different ways of making this work, but I've been unable to up until now. I saw a post about adding mangle rules and marking the traffic, but the moment I do that it breaks access between my subnets.
Could anyone help please?