[nsp] translating the port

Matt Stevens matt at elevate.org
Tue Jan 13 16:01:12 EST 2004


You might start here. This snippet is translating the address, but it 
may work at the port level as well. Haven't time to try at the moment...

ip nat inside source static tcp 10.19.16.9 25 10.19.32.9 25 extendable

This redirects connections to 10.19.32.9 on port 25 to 10.19.16.9 on 
port 25.

You'll also need to apply 'ip nat inside' and 'ip nat outside' to the 
appropriate interfaces.
--
matt


Rajeshbansal9 at aol.com wrote:

> Hello,
> 
> Is there any way in 7600 just to translate the destination port of a packet. 
> So if the 7600 receives a packet that is destined to port 25, have it change 
> it to something else and maintain the session entry. Sort of NAT but maintaing 
> the address but just changing the destination port.
> 
> Thanks
> 
> raj
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/




More information about the cisco-nsp mailing list