Destination NAT (one-to-many)
Another application where DNAT might be used is a scenario in which there are multiple instances (each on a different port) of the server inside a private network. To configure NAT for this particular scenario, perform the following steps in configuration mode.
Step | Command |
---|---|
Create DNAT rule 10. |
|
Apply this rule to all incoming packets on the dp0p1p1 interface bound for the 12.34.56.78 address on a well know http port. |
|
Forward traffic to internal host address 10.0.0.64 across ports 2000-2019 and across 20 instances in this case. |
|
| |
Commit the change. |
|
Show the configuration. |
|