02-20-2007 05:57 PM - edited 03-11-2019 02:36 AM
This is my config file. I am trying to access a web server on the internal network. Could some one please point out what i am doig wrong?
no ip http server
no ip http secure-server
ip nat inside source list 15 interface FastEthernet0/1 overload
ip nat inside source static tcp 192.168.0.4 80 interface FastEthernet0/1 80
ip access-list extended external2
remark permit http
permit tcp any eq www host 192.168.0.4 eq www
remark permint dhcp
permit udp any any eq bootpc log
remark The below set the rfc1918 private exclusions
deny ip 192.168.0.0 0.0.255.255 any log
deny ip 172.16.0.0 0.15.255.255 any log
deny ip 10.0.0.0 0.255.255.255 any log
remark Permit Established connections
permit tcp any any established
remark Permit Internal DNS Out
permit udp any eq domain any
remark Deny and log anything that doesn't comply to these rules
permit udp any any
deny ip any any log
!
logging 192.168.0.6
logging 192.168.0.2
access-list 15 permit 192.168.0.0 0.0.0.255
02-20-2007 09:19 PM
hi
Can you remove the second NAT statement and replace it with the below mentioned command ?
ip nat inside source static tcp 192.168.0.4 80 x.x.x.x 80
x.x.x.x -- ur public ip address configured on the fastethernet interface..
regds
02-21-2007 03:48 PM
Yeah that did not help anything.
02-21-2007 08:33 PM
Hi
Can you post the config of the router here ?
regds
02-27-2007 12:18 AM
Do you need more than what i have already posted?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide