+-------+ +------+
| Sub1 +------------+ |
+-------+ | |1.1.1.1 Sub1
| |1.1.1.2 Sub2
+-------+ | |1.1.1.3 Sub3
| Sub2 +------------+Router+--------------+
+-------+ | Nat |
| |
+-------+ | |
| Sub3 +------------+ |
+-------+ +------+
I want on my switch ports, 3 different sublans {Sub1,Sub2,Sub3} with private address space (10.0.1.0, 10.0.2.0, 10.0.3.0).
The wan interface has 3 different external IPs.
I want to NAT each sublan to a different external IP.
What I've done so far.
- 3 different VLANs with 3 different interfaces on my switch ports.
- 3 different interfaces on the WAN port
- Nat rules
Something does not work. Maybe, I miss what is the correct way of doing that?
Can I do something like this? Do I have to use a destination NAT?