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!

Cisco 871 Not Forwarding HTTP 1

Status
Not open for further replies.

shaferbus

MIS
Dec 7, 2002
130
US
I hope someone out there can see what I'm not seeing.

We have a SBS2000 based domain with a Cisco 871 router (IP 192.168.16.1), and an IIS web server (with Integrated Authentication) at IP 192.168.16.14. The web server is just a kind of extranet used by employees.

The web server is accessible from inside VLAN1, but the connection is refused when trying to access from outside the network.

Here's the config file - what am I missing?

!version 12.4
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
service sequence-numbers
!
hostname yourname
!
boot-start-marker
boot-end-marker
!
logging buffered 51200 debugging
logging console critical
enable secret 5 1111111111111111111111111.
!
no aaa new-model
!
resource policy
!
clock timezone PCTime -5
clock summer-time PCTime date Apr 6 2003 2:00 Oct 26 2003 2:00
ip subnet-zero
no ip source-route
ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.16.48 192.168.16.254
!
ip dhcp pool sdm-pool1
import all
network 192.168.16.0 255.255.255.0
dns-server 216.135.95.2 64.132.94.250
default-router 192.168.16.1
!
ip dhcp pool Shafers
host 192.168.16.2 255.255.255.0
hardware-address 00c0.9f10.d8a6
!
ip dhcp pool Drivecam
host 192.168.16.3 255.255.255.0
hardware-address 0016.41ef.439d
!
ip dhcp pool ITServices
host 192.168.16.4 255.255.255.0
hardware-address 0000.e87f.f994
!
ip dhcp pool Drivers
host 192.168.16.14 255.255.255.0
hardware-address 0040.ca36.35b3
!
ip dhcp pool Xerox
host 192.168.16.13 255.255.255.0
hardware-address 0000.f0a2.9947
!
ip dhcp pool Sharp
host 192.168.16.30 255.255.255.0
hardware-address 0880.1fff.22b1
!
!
ip inspect name DEFAULT100 cuseeme
ip inspect name DEFAULT100 ftp
ip inspect name DEFAULT100 h323
ip inspect name DEFAULT100 icmp
ip inspect name DEFAULT100 netshow
ip inspect name DEFAULT100 rcmd
ip inspect name DEFAULT100 realaudio
ip inspect name DEFAULT100 rtsp
ip inspect name DEFAULT100 esmtp
ip inspect name DEFAULT100 sqlnet
ip inspect name DEFAULT100 streamworks
ip inspect name DEFAULT100 tftp
ip inspect name DEFAULT100 tcp
ip inspect name DEFAULT100 udp
ip inspect name DEFAULT100 vdolive
ip inspect name DEFAULT100 802-11-iapp
ip tcp synwait-time 10
no ip bootp server
ip domain name yourdomain.com
ip name-server 216.135.95.2
ip name-server 64.132.94.250
ip name-server 192.168.16.2
ip ssh time-out 60
ip ssh authentication-retries 2
!
!
crypto pki trustpoint TP-self-signed-1111111111
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1111111111
revocation-check none
rsakeypair TP-self-signed-1111111111
!
!
crypto pki certificate chain TP-self-signed-1111111111
certificate self-signed 01
*** A BUNCH OF CRYPTO STUFF HERE***
quit
username admin privilege 15 secret 5 1111111111111111111111111111111
!
!
!
!
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface FastEthernet4
description $FW_OUTSIDE$$ES_WAN$
ip address 66.192.xxx.xxx 255.255.255.0
ip access-group 101 in
ip verify unicast reverse-path
no ip redirects
no ip unreachables
no ip proxy-arp
ip inspect DEFAULT100 out
ip nat outside
ip virtual-reassembly
ip route-cache flow
duplex auto
speed auto
!
interface Vlan1
description $ETH-SW-LAUNCH$$INTF-INFO-HWIC 4ESW$$ES_LAN$$FW_INSIDE$
ip address 192.168.16.1 255.255.255.0
ip access-group 100 in
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
ip virtual-reassembly
ip route-cache flow
ip tcp adjust-mss 1452
!
ip classless
ip route 0.0.0.0 0.0.0.0 66.192.yyy.yyy
!
no ip http server
ip http authentication local
ip http secure-server
ip nat inside source list 1 interface FastEthernet4 overload
ip nat inside source static tcp 192.168.16.14 80 interface FastEthernet4 80 [blue] shouldn't this line do the forwarding?[/blue]
!
logging trap debugging
access-list 1 remark INSIDE_IF=Vlan1
access-list 1 remark SDM_ACL Category=2
access-list 1 permit 192.168.16.0 0.0.0.255
access-list 100 remark auto generated by Cisco SDM Express firewall configuration
access-list 100 remark SDM_ACL Category=1
access-list 100 permit tcp any host 192.168.16.14 eq www
access-list 100 permit udp host 192.168.16.2 eq domain any
access-list 100 permit tcp any any eq 4443
access-list 100 deny ip 66.192.43.0 0.0.0.255 any
access-list 100 deny ip host 255.255.255.255 any
access-list 100 deny ip 127.0.0.0 0.255.255.255 any
access-list 100 permit ip any any
access-list 101 remark auto generated by Cisco SDM Express firewall configuration
access-list 101 remark SDM_ACL Category=1
access-list 101 remark Auto generated by SDM for NTP (123) nist1-ny.witime.net
access-list 101 permit udp host 208.184.49.9 eq ntp host 66.192.xxx.xxx eq ntp
access-list 101 permit udp host 64.132.94.250 eq domain any
access-list 101 permit udp host 216.135.95.2 eq domain any
access-list 101 permit tcp any host 192.168.16.14 eq www
access-list 101 remark SSL
access-list 101 permit tcp any any eq 4443
access-list 101 deny ip 192.168.16.0 0.0.0.255 any
access-list 101 permit icmp any host 66.192.xxx.xxx echo-reply
access-list 101 permit icmp any host 66.192.xxx.xxx time-exceeded
access-list 101 permit icmp any host 66.192.xxx.xxx unreachable
access-list 101 deny ip 10.0.0.0 0.255.255.255 any
access-list 101 deny ip 172.16.0.0 0.15.255.255 any
access-list 101 deny ip 192.168.0.0 0.0.255.255 any
access-list 101 deny ip 127.0.0.0 0.255.255.255 any
access-list 101 deny ip host 255.255.255.255 any
access-list 101 deny ip host 0.0.0.0 any
access-list 101 deny ip any any
no cdp run
!
control-plane
!
banner login ^CCAuthorized access only!
Disconnect IMMEDIATELY if you are not an authorized user!^C
!
line con 0
login local
no modem enable
transport output telnet
line aux 0
login local
transport output telnet
line vty 0 4
privilege level 15
login local
transport input telnet ssh
!
scheduler max-task-time 5000
scheduler allocate 4000 1000
scheduler interval 500
ntp server 208.184.49.9 source FastEthernet0
end
 
Hello
If I were you,I would start the trouble-shooting by turning of both access-list,to see if the problem is there.
Regards



 
Is this using Firefox or IE? First off, like Minue says, do this...
router>en
router#conf t
router(config)#int fa4
router(config-if)#no ip access-group 101 in
router(config-if)#end
router#
If this works, then it is something with acl 101...here is what I suspect...
ACL 101 needs to do this...first, do a sh access-list
router#sh access-list
Then, find out what line in access-list 101 does this...
deny ip any any
Let's say it is line 160...then you would
router#conf t
router(config)#ip access-list extended 101
router(config-ext-nacl)#no 160
router(config-ext-nacl)#160 permit ip any any
router(config-ext-nacl)#end
router#wr

Burt
 
One more thing...are users trying to resolve a domain name or are they using the IP address of the web server (actually,the public IP address associated with fa4)?
If they need to resolve the name via the name server at 192.168.16.2, then you will need a static NAT entry for this server as well, just like the one for the web server (different port, of course). This is if the other suggestions do not help...

Burt
 
Thanks for the good suggestions.
I've disabled both access lists, but that didn't get me anywhere >:-<

Doesn't any ACL on the external interface always end in "deny any any"? I thought that was the catchall after all of your "permits"...

At any rate, I still can't access the web server through the WAN interface.
Do you think this might be a hardware problem?
Any suggestions for a next step?
 
Hello
Can you post a tracert to the global address (66.192.xxx.xxx )of the webserver,from outside.To see if it's not a problem at the ISP end.
Regards
 
... and I did think of that! However, I dismissed the idea because until I changed the default to

no ip http server

my users were getting the Cisco router management login dialog LOL.

Anyway, I ran the tracert (had to go find my Sprint card and hookup to get an outside tracert). Here's the result:


1 2449 ms 1662 ms 1003 ms 68.28.113.69
2 * * * Request timed out.
3 308 ms 318 ms 299 ms 68.28.115.55
4 478 ms 299 ms 299 ms 68.28.115.7
5 337 ms * * 68.28.115.44
6 * * 328 ms 192.168.0.12
7 305 ms * * 68.28.115.97
8 * * 307 ms 68.28.115.18
9 * * 308 ms sl-gw22-rly-1-3.sprintlink.net [144.228.191.65]

10 301 ms * * sl-bb21-rly-3-1.sprintlink.net [144.232.14.73]
11 353 ms * 327 ms sl-bb20-pen-3-0.sprintlink.net [144.232.20.209]

12 324 ms * * sl-bb23-pen-14-0.sprintlink.net [144.232.16.26]

13 321 ms * * sl-crs1-nyc-0-4-0-1.sprintlink.net [144.232.20.1
22]
14 357 ms * * sl-bb21-nyc-8-0.sprintlink.net [144.232.7.110]
15 321 ms * * sl-gw37-nyc-0-0-0.sprintlink.net [144.232.13.64]

16 321 ms 299 ms * sl-timewarner-17-0.sprintlink.net [160.81.189.94
]
17 * * * Request timed out.
18 * * * Request timed out.
19 * * * Request timed out.
20 * * * Request timed out.
21 * * * Request timed out.
22 * * * Request timed out.
23 * * * Request timed out.
24 * * * Request timed out.
25 * * * Request timed out.
26 * * * Request timed out.
27 * * * Request timed out.
28 * * * Request timed out.
29 * * * Request timed out.
30 * * * Request timed out.

Trace complete.

What the heck is the deal with that local IP (192.168.0.12)???

Anyway, as you can see, it doesn't seem to be hitting my WAN interface. I'll call the IP and see what the deal is and post the results!
 
To answer about access-lists...
they always have an implicit "deny any any" at the end, so it is not needed. Also, because of this, you must put the "permit ip any any" or all other traffic will be denied.

Burt
 
Yep, but if I'm understanding this correctly, the "permit ip any any" would be on the VLAN interface (inside), not the Fastethernet (WAN), right?

Geez, I hope I've got at least that right LOL
 
Well, I called in a repair ticket to our ISP, and now it works!!!

Thanks everyone for your advice - Tek-tips Rules!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top