cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
612
Views
0
Helpful
5
Replies

IP Nat translation not working

sebastien3
Level 4
Level 4

Hello,

I would like to be able to access port 22 of Router1 10.0.1.1 from WAN IP A.B.C.D which is on Dialer0 of Router0 (10.0.1.2).map.JPG

From LAN 192.168.1.X I access port 10.0.1.1:22 of Router1.

From the WAN it does not work using ip nat inside source static tcp 10.0.1.1 22 A.B.C.D 22 extendable

Thank you for the help

5 Replies 5

ip nat inside source static tcp 10.0.1.1 22 A.B.C.D 22 extendable

A.B.C.D <<- are this static IP or dynamic via DHCP ??

if it dynamic then try use DNS instead of IP

sebastien3
Level 4
Level 4

A.B.C.D is an static IP !

For example if I do this for router0 it works : ip nat inside source static tcp A.B.C.D 2222 interface Dialer0 2222

But not for 10.0.1.1...

dialer interface is ip nat outside 
g0/0 interface is ip nat inside ??

sebastien3
Level 4
Level 4

Dialer0 is ip nat outside
G0/0 is not ip nat inside, only G0/1 (LAN)

=> ip nat inside source list 101 interface Dialer0 overload
=> access-list 101 permit ip 192.168.1.0 0.0.0.255 any

That why NAT not work.

Need ip nat inside in g0/0 

Note:- you can have more than one ip nat inside in router