cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
446
Views
0
Helpful
1
Replies

Static NAT not working

chris.fletcher1
Level 1
Level 1

I'm having a hard time doing some simple port forwarding for port 80 and 25. I've tried using both the public IP address and the interface. I've tried with and without an ACL. My config is below. Please tell me I'm missing something obvious here.

From the router I can telnet to both port 80 and 25 using the local addresses.

interface GigabitEthernet0/0

 description WAN

 no ip address

 ip access-group WAN in

 duplex auto

 speed auto

 pppoe enable group global

 pppoe-client dial-pool-number 1

!

interface GigabitEthernet0/1

 description LAN

 ip address 192.168.1.7 255.255.255.0

 ip nat inside

 ip virtual-reassembly in

 duplex auto

 speed auto

!

interface Dialer1

 description Logical ADSL Interface

 ip address negotiated

 ip mtu 1492

 ip nat outside

 ip virtual-reassembly in

 encapsulation ppp

 ip tcp adjust-mss 1452

 dialer pool 1

 dialer-group 1

 ppp chap hostname *********

 ppp chap password 0 *********

 ppp ipcp route default

!

no ip forward-protocol nd

no ip http server

no ip http secure-server

!

!

ip nat inside source list 10 interface Dialer1 overload

ip nat inside source static tcp 192.168.1.4 25 interface Dialer1 25

ip nat inside source static tcp 192.168.1.16 80 63.224.141.28 80 extendable

ip route 0.0.0.0 0.0.0.0 Dialer1

!

ip access-list standard LAN

 permit 192.168.1.0 0.0.0.255

!

ip access-list extended WAN

 permit ip any any

!

access-list 10 permit 192.168.1.0 0.0.0.255

dialer-list 1 protocol ip permit

!

!

!

!

!

!

control-plane

!

!

!

!

mgcp profile default

!

!

!

!

!

!

line con 0

line aux 0

line vty 0 4

 login local

 transport input all

line vty 5 15

 login local

 transport input all

!

scheduler allocate 20000 1000

end

1 Reply 1

Duplicate post -

https://supportforums.cisco.com/discussion/12712311/help-static-nat-isnt-working


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul