ip nat inside destination
This command defines a load-balancing configuration, where several LAN hosts are handling access requests from the WAN.
To remove the NAT configuration, use the no format of the command.
Syntax
ip nat inside destination <ip-addr> port <port-num> pool <pool-name>
Command |
Description |
---|---|
ip-addr |
Defines the global IP address (WAN side). |
port-num |
Defines the port number on the WAN IP address. |
pool-name |
Defines the LAN hosts pool, which must be configured with the "ip nat pool <pool-name> rotary" command. |
Default
No NAT rules are defined.
Command Mode
Privileged User
Example
This example defines a NAT setup where a number of LAN hosts are handling requests to a single WAN port:
(config-data)# ip nat inside destination 212.36.145.5 port 8000 pool lanpool