Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Problem with static NAT

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

  • Other Security Subjects
1 REPLY
Gold

Re: Problem with static NAT

"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

272
Views
0
Helpful
1
Replies
This widget could not be displayed.