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. And see here for current known issues.

New Member

NAT port redirecting.

Hello, I have the next problem and I do not know if I can solve it. I have a Cisco 1800 with IOS 12.4 that plays the role of the main router in our small company's network. There are three subnetworks, one for streaming, other one for hosting and a third one for accessing the Internet within our office.

I would like to know if it is possible to redirect all traffic for ANY outside smtp server to another port (for example, to 25000). I have tried to use the next command:

ip nat outside source static IP_OUTSIDE 25 IP_INSIDE 25000

... but the problem is that I have to specify the IP_OUTSIDE, since I could not find a way for redirecting ANY IP_OUTSIDE address.

Any ideas?

1 REPLY

Re: NAT port redirecting.

You're close.

ip nat inside source tcp IP_OUTSIDE 25 IP_INSIDE 25000

You will need a free public IP as you can't add this to an existing NAT.

Hope that helps.

111
Views
0
Helpful
1
Replies