Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NAT Woes

Status
Not open for further replies.

BlueKloud

Technical User
Aug 29, 2003
3
US
This is they way I am connected to the internet:

Internet---NAT/Router1-----NAT/Router2----MyMachine
Internet---65.x.x.1/10.x.x.1-------10.x.x.2/192.168.0.1----192.168.0.2

I have no control over NAT/Router1

If you sit on the Internet all ports are forwarded from NAT1, all the way through to MyMachine.

What I want to be able to do is, when I attempt to connect to 65.x.x.1 from MyMachine, I want NAT/Router2 to send it to 192.168.0.3 on my network(out the same interface).

I have been unable to get this to work.

Any Ideas?
 
How are you connected to NAT router 2? How is NAT router 1 connected to Nat router 2?
Display the config on NAT routers
 
I do not have access to NAT1, here is the config for NAT2:

version 12.2
service tcp-keepalives-in
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
!
hostname Router-2514
!
no logging buffered
no logging rate-limit
no logging console
enable secret 5
!
ip subnet-zero
no ip source-route
no ip finger
ip name-server 192.168.0.254
!
no ip bootp server
no ip dhcp-client network-discovery
!
!
!
!
interface Ethernet0
description connected to Internet
ip address 10.10.144.79 255.0.0.0
ip nat outside
ip route-cache flow
no cdp enable
!
interface Ethernet1
description connected to EthernetLAN
ip address 192.168.0.1 255.255.255.0
ip nat inside
ip route-cache flow
no cdp enable
!
interface Serial0
no ip address
shutdown
no cdp enable
!
interface Serial1
no ip address
shutdown
no cdp enable
!
!
ip kerberos source-interface any
ip nat translation timeout 1800
ip nat inside source list 1 interface Ethernet0 overload
ip nat inside source static tcp 192.168.0.254 80 interface Ethernet0 80
ip nat inside source static tcp 192.168.0.254 25 interface Ethernet0 25
ip nat inside source static tcp 192.168.0.254 53 interface Ethernet0 53
ip nat inside source static udp 192.168.0.254 53 interface Ethernet0 53
ip classless
ip route 0.0.0.0 0.0.0.0 10.10.144.1
no ip http server
!
access-list 1 permit 192.168.0.0 0.0.0.255
no cdp run
line con 0
exec-timeout 0 0
password 7
login
transport input none
line aux 0
line vty 0 4
login
!
end
 
ip nat inside source static 192.168.0.3 65.x.x.1

interface Ethernet0
description connected to Internet
ip address 10.10.144.79 255.0.0.0
ip nat outside

interface Ethernet1
description connected to EthernetLAN
ip address 192.168.0.1 255.255.255.0
ip nat inside
 
Thanks for the post rcasta, but I have tried that before. My Router2 still forwards the packet along to Router1. I need it to forward it immediatly back inside my network.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top