cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
411
Views
0
Helpful
1
Replies

Problem with static NAT

yquirion_
Level 1
Level 1

Dear expert,

I enter the following line into my router:

ip nat inside source static tcp 192.168.2.1 81 <public ip> 81 route-map nonat

The command works fine. when I look the ip nat translation, I can see it.

The problem when I list tunning config, the line looks like this:

ip nat inside source static 192.168.2.1 <public ip> route-map nonat extendable

Why the IOS does this? My IOS version est 12.3(8)T11 on a Cisco 831. The static NAT will run well until I restart the router. After doing a reload, all port are redirected inside instead of just port 81.

Anyone has idea about this?

Thanks

Yanick

1 Reply 1

jackko
Level 7
Level 7

"ip nat inside source static tcp 192.168.2.1 81 81 route-map nonat", the syntax is incorrect for port static nat.

try the command below:

ip nat inside source static tcp 192.168.2.1 81 81 extendable