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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help? my Static NAT not working

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
Dunno why my Static NAT not working in my 827. Please help?

ip subnet-zero
!
!
!
!
interface Ethernet0
ip address 192.168.1.6 255.255.255.0
ip nat inside
!
interface ATM0
no ip address
no atm ilmi-keepalive
bundle-enable
dsl operating-mode auto
!
interface ATM0.1 point-to-point
ip address 203.125.160.54 255.255.255.252
ip nat outside
pvc 8/35
encapsulation aal5snap
!
!
ip nat inside source list 1 interface ATM0.1 overload
ip nat inside source static tcp 192.168.1.10 25 203.125.160.54 25
ip classless
ip route 0.0.0.0 0.0.0.0 ATM0.1
no ip http server
!
 
I want to all the Port 25 traffic to redirect to my internal IP which is

192.168.1.10

And my ISP Details is

My IP : 203.125.160.54
ISP Gateway : 203.125.160.53

Subnet : 255.255.255.252

 
I want to all the Port 25 traffic to redirect to my internal IP which is

192.168.1.10

And my ISP Details is

My IP : 203.125.160.54
ISP Gateway : 203.125.160.53

Subnet : 255.255.255.252

 
I want to all the Port 25 traffic to redirect to my internal IP which is

192.168.1.10

And my ISP Details is

My IP : 203.125.160.54
ISP Gateway : 203.125.160.53

Subnet : 255.255.255.252

 
Kumar_sg,
You specified a source list but didn't create the access list that matches it to tell the router which addresses are allowed to NAT. Try adding this command:

access-list 1 permit 192.168.1.0 0.0.0.255

Hope that helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top