NAT port redirecting.

Unanswered Question
Jun 10th, 2008

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?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Collin Clark Tue, 06/10/2008 - 05:59

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.

Actions

This Discussion