[nsp] NAT question, rewriting both source and destination

Krzysztof Adamski k at adamski.org
Sun Nov 16 21:13:01 EST 2003


I'm trying to do NAT to reach a router on the inside of a private network:


rG --- rI --- rO --- H

H is on the internet
rI address is 10.2.250.2
rO address is 10.2.250.1 and 65.1.45.25
rI has a default gateway of rG
NAT is on rO
>From H I want to reach rI on port 23

using:
ip nat inside source static tcp 10.2.250.2 23 65.1.45.25 23016 extendable
the packets reach rI, but have a source address of H. rI then sends then
to rG, what I need is for the NAT on the rO to rewrite the source address
to 10.2.250.1 before sending to rI

TIA

K



More information about the cisco-nsp mailing list