Agree with Lrmoore; to suppliment the usage, take a look at the following, it is different usage of nat inside;
ip nat source
To enable Network Address Translation (NAT) on a virtual interface without inside or outside specification, use the ip nat source command in global configuration mode.
Dynamic NAT
ip nat source {list {access-list-number | access-list-name} interface type number | pool name} [overload | vrf name]
no ip nat source {list {access-list-number | access-list-name} interface type number | pool name} overload | vrf name]
Static NAT
ip nat source {static {esp local-ip interface type number | local-ip global-ip}} [extendable | no-alias | no-payload | vrf name]
no ip nat source {static {esp local-ip interface type number | local-ip global-ip}} [extendable | no-alias | no-payload | vrf name]
Port Static NAT
ip nat source {static {tcp | udp {local-ip local-port global-ip global-port | interface global-port}} [extendable | no-alias | no-payload | vrf name]
no ip nat source {static {tcp | udp {local-ip local-port global-ip global-port | interface global-port}} [extendable | no-alias | no-payload | vrf name]
Network Static NAT
ip nat source static network local-network global-network mask [extendable | no-alias | no-payload | vrf name]
no ip nat source static network local-network global-network mask [extendable | no-alias | no-payload | vrf name]
Cheers,
Rajesh
Main Topics
Browse All Topics





by: lrmoorePosted on 2007-01-03 at 04:27:59ID: 18234509
No. That is a 1-1 static and you cannot use the same public to other internal hosts for other ports.
You have to use
ip nat inside source static tcp a.b.c.d 80 1.2.3.4 80
Unfortunately, there is no range command so you have to do each and every port on a separate line.