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

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 source and destination

Hello friends,

please investigate the attached topology.

I want to do NAT on Router B, and the router shall NAT source and destination of an IP packet. How do I configure this?

Which interface is inside, which is outside?

Is this possible at all?

Everyone's tags (5)

Re: NAT source and destination

Hi ,

you can try :

int fa0/1
ip nat inside
int fa0/0
ip nat outside

ip nat source static
ip nat source static


New Member

Re: NAT source and destination

Thanks for your reply. It didn't work unfortunately.

I found an interesting website which helped me finding a solution:

So, basic IP NAT works now! I have configured the following on Router B:

int fa0/0

ip nat inside

int fa0/1

ip nat outside

ip nat inside source static

ip nat outside source static

ip route

This config works!

But: Let's go one step ahead: What I exactly need is, to only nat ICMP / SSH / TELNET traffic from to

TELNET and SSH are no big problems, you can use this commands on Router B:

ip nat outside source static tcp 23 23 extendable

ip nat outside source static tcp 22 22  extendable

This works fine. But what do I do with ICMP? As ICMP is not running in TCP or UDP, I can't configure it with static NAT.

Please help

CreatePlease to create content