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!

837 router firewall config to allow NAT passthrough port 80 1

Status
Not open for further replies.

lowtekkie

Technical User
Nov 15, 2006
2
IE
Hello,

I want to allow host a webserver in our DMZ. I have tried configuring via the SDM but haven't gotten anywhere. our network topology consists of an 837 cisco router acting as the internet firewall and 2 515pix in active/failover config. The 515 pix have 5 VLANs configured.

Would it be better/simplier to place the webserver in between the 837 and the PIX or on one of the VLANS?

Here is the running config of the 837 (I probably made a mess of it) Not sure if problem is with NAT or ACL or both! I very new to this...


Building configuration...

Current configuration : 9894 bytes
!
version 12.3
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 cisco837
!
boot-start-marker
boot-end-marker
!
no logging buffered
enable secret 5 $1$b7QL$8icfD5nXnBGdDmppxbpmN1
!
username xxxxxx password 7 000C1211055202
no aaa new-model
ip subnet-zero
no ip source-route
ip tcp synwait-time 10
ip domain name xxxx.com
ip name-server x.x.x.194
ip name-server x.x.x.236
!
!
no ip bootp server
ip cef
ip inspect name SDM_LOW cuseeme
ip inspect name SDM_LOW ftp
ip inspect name SDM_LOW h323
ip inspect name SDM_LOW icmp
ip inspect name SDM_LOW netshow
ip inspect name SDM_LOW rcmd
ip inspect name SDM_LOW realaudio
ip inspect name SDM_LOW rtsp
ip inspect name SDM_LOW sqlnet
ip inspect name SDM_LOW streamworks
ip inspect name SDM_LOW tftp
ip inspect name SDM_LOW tcp
ip inspect name SDM_LOW udp
ip inspect name SDM_LOW vdolive
ip inspect name appfw_100 smtp alert on audit-trail on
ip inspect name appfw_100 tcp
ip inspect name appfw_100 udp
ip inspect name appfw_100 icmp
ip inspect name appfw_100 fragment maximum 256 timeout 1
ip audit notify log
ip audit po max-events 100
ip ssh time-out 60
ip ssh authentication-retries 2
no ftp-server write-enable
!
!
!
no crypto isakmp enable
!
!
!
!
interface Null0
no ip unreachables
!
interface Ethernet0
description $ETH-LAN$$FW_INSIDE$
ip address 192.168.254.1 255.255.255.0
ip access-group 100 in
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
ip route-cache flow
ip tcp adjust-mss 1412
no cdp enable
hold-queue 100 out
!
interface ATM0
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
ip route-cache flow
no atm ilmi-keepalive
dsl operating-mode auto
!
interface ATM0.1 point-to-point
no ip redirects
no ip unreachables
no ip proxy-arp
pvc 8/35
pppoe-client dial-pool-number 1
!
!
interface Dialer0
description $FW_OUTSIDE$
ip address x.x.x.97 255.255.255.248
ip access-group 106 in
no ip redirects
no ip unreachables
no ip proxy-arp
ip mtu 1452
ip nat outside
ip inspect SDM_LOW out
encapsulation ppp
ip route-cache flow
dialer pool 1
dialer-group 1
ppp authentication chap pap callin
ppp chap hostname xxx
ppp chap password 7 0509140020484C08170146
ppp pap sent-username xxx password 7 110B0B0A1616090D0A2E7A
!
router rip
version 2
network 192.168.0.0
no auto-summary
!
ip nat inside source list 1 interface Dialer0 overload
ip nat inside source list 2 interface Dialer0 overload
ip nat inside source list 4 interface Dialer0 overload
ip nat inside source static tcp 192.168.0.77 25 62.77.189.101 25 extendable
ip classless
ip route 0.0.0.0 0.0.0.0 x.x.155.27
ip route 192.168.0.0 255.255.255.0 192.168.254.254
ip http server
ip http access-class 3
ip http secure-server
!
!
access-list 1 remark INSIDE_IF=Ethernet0
access-list 1 remark SDM_ACL Category=2
access-list 1 permit 192.168.254.0 0.0.0.255
access-list 2 remark SDM_ACL Category=2
access-list 2 permit 192.168.0.0 0.0.0.255
access-list 3 remark HTTP Access-class list
access-list 3 remark SDM_ACL Category=1
access-list 3 permit 192.168.254.0 0.0.0.255
access-list 3 deny any
access-list 4 remark SDM_ACL Category=2
access-list 4 permit 192.168.2.0 0.0.0.255
access-list 100 remark auto generated by SDM firewall configuration
access-list 100 remark SDM_ACL Category=1
access-list 100 deny ip x.x.x.96 0.0.0.7 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 SDM firewall configuration
access-list 101 remark SDM_ACL Category=1
access-list 101 permit tcp any host x.x.x.101 eq smtp
access-list 101 permit tcp any host x.x.x. eq www
access-list 101 deny ip 192.168.254.0 0.0.0.255 any
access-list 101 permit icmp any host x.x.x.97 echo-reply
access-list 101 permit icmp any host x.x.x.97 time-exceeded
access-list 101 permit icmp any host x.x.x.97 unreachable
access-list 101 permit tcp any host x.x.x.97 eq 443
access-list 101 permit tcp any host x.x.x.97 eq 22
access-list 101 permit tcp any host x.x.x.97 eq cmd
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 log
access-list 102 remark auto generated by SDM firewall configuration
access-list 102 remark SDM_ACL Category=1
access-list 102 permit tcp any host x.x.x.102 eq www
access-list 102 permit tcp any host x.x.x.101 eq smtp
access-list 102 permit tcp any host x.x.x.98 eq www
access-list 102 deny ip 192.168.254.0 0.0.0.255 any
access-list 102 permit tcp any host x.x.x.98 eq 443
access-list 102 permit icmp any host x.x.x.97 echo-reply
access-list 102 permit icmp any host x.x.x.97 time-exceeded
access-list 102 permit icmp any host x.x.x.97 unreachable
access-list 102 permit tcp any host x.x.x.97 eq 443
access-list 102 permit tcp any host x.x.x.97 eq 22
access-list 102 permit tcp any host x.x.x.97 eq cmd
access-list 102 deny ip 10.0.0.0 0.255.255.255 any
access-list 102 deny ip 172.16.0.0 0.15.255.255 any
access-list 102 deny ip 192.168.0.0 0.0.255.255 any
access-list 102 deny ip 127.0.0.0 0.255.255.255 any
access-list 102 deny ip host 255.255.255.255 any
access-list 102 deny ip host 0.0.0.0 any
access-list 102 deny ip any any log
access-list 103 remark VTY Access-class list
access-list 103 remark SDM_ACL Category=1
access-list 103 permit ip 192.168.254.0 0.0.0.255 any
access-list 103 deny ip any any
access-list 104 remark auto generated by SDM firewall configuration
access-list 104 remark SDM_ACL Category=1
access-list 104 permit tcp any host x.x.x.102 eq www
access-list 104 permit tcp any eq x.x.1x.102 eq www
access-list 104 permit tcp any eq 443 host x.x.x.102 eq 443
access-list 104 permit tcp any host x.x.x.101 eq smtp
access-list 104 permit udp host 213.94.190.236 eq domain host x.x.x.97
access-list 104 permit tcp any host x.x.x.x eq 443
access-list 104 permit tcp any host x.x.x.x eq 22
access-list 104 permit tcp any host x.x.x.97 eq cmd
access-list 104 permit udp host 213.94.190.194 eq domain host x.x.x.97
access-list 104 deny ip 192.168.254.0 0.0.0.255 any
access-list 104 permit icmp any host x.x.x.97 echo-reply
access-list 104 permit icmp any host x.x.x.97 time-exceeded
access-list 104 permit icmp any host x.x.x.97 unreachable
access-list 104 permit tcp 192.168.0.0 0.0.0.255 host x.x.x.97 eq 443
access-list 104 permit tcp 192.168.0.0 0.0.0.255 host x.x.x.97 eq 22
access-list 104 permit tcp 192.168.0.0 0.0.0.255 host x.x.x.97 eq cmd
access-list 104 deny ip 10.0.0.0 0.255.255.255 any
access-list 104 deny ip 172.16.0.0 0.15.255.255 any
access-list 104 deny ip 192.168.0.0 0.0.255.255 any
access-list 104 deny ip 127.0.0.0 0.255.255.255 any
access-list 104 deny ip host 255.255.255.255 any
access-list 104 deny ip host 0.0.0.0 any
access-list 104 deny ip any any log
access-list 105 remark auto generated by SDM firewall configuration
access-list 105 remark SDM_ACL Category=1
access-list 105 deny ip 192.168.254.0 0.0.0.255 any
access-list 105 permit icmp any host x.x.x.97 echo-reply
access-list 105 permit icmp any host x.x.x.97 time-exceeded
access-list 105 permit icmp any host x.x.x.97 unreachable
access-list 105 permit tcp any eq x.x.x.102 eq www
access-list 105 permit tcp any eq 443 host x.x.x.102 eq 443
access-list 105 deny ip 10.0.0.0 0.255.255.255 any
access-list 105 deny ip 172.16.0.0 0.15.255.255 any
access-list 105 deny ip 192.168.0.0 0.0.255.255 any
access-list 105 deny ip 127.0.0.0 0.255.255.255 any
access-list 105 deny ip host 255.255.255.255 any
access-list 105 deny ip host 0.0.0.0 any
access-list 105 deny ip any any log
access-list 106 remark auto generated by SDM firewall configuration
access-list 106 remark SDM_ACL Category=1
access-list 106 permit tcp any host ...101 eq smtp
access-list 106 permit udp host 213.94.190.236 eq domain host ...97
access-list 106 permit udp host 213.94.190.194 eq domain host ...97
access-list 106 deny ip 192.168.254.0 0.0.0.255 any
access-list 106 permit icmp any host x.x.x.97 echo-reply
access-list 106 permit icmp any host x.x.x.97 time-exceeded
access-list 106 permit icmp any host x.x.x.97 unreachable
access-list 106 permit tcp any host x.x.x.97 eq 443
access-list 106 permit tcp any host x.x.x.97 eq 22
access-list 106 permit tcp any host x.x.x.97 eq cmd
access-list 106 permit tcp any eq x.x.x.98 eq www
access-list 106 permit tcp any eq 443 host x.x.x.98 eq 443
access-list 106 deny ip 10.0.0.0 0.255.255.255 any
access-list 106 deny ip 172.16.0.0 0.15.255.255 any
access-list 106 deny ip 192.168.0.0 0.0.255.255 any
access-list 106 deny ip 127.0.0.0 0.255.255.255 any
access-list 106 deny ip host 255.255.255.255 any
access-list 106 deny ip host 0.0.0.0 any
access-list 106 deny ip any any log
dialer-list 1 protocol ip permit
no cdp run
!
control-plane
!
banner login ^Cxxxxxxxxxxxxxxxxxxxx^C
!
line con 0
login local
no modem enable
transport preferred all
transport output telnet
line aux 0
login local
transport preferred all
transport output telnet
line vty 0 4
access-class 103 in
login local
transport preferred all
transport input telnet ssh
transport output all
!
scheduler max-task-time 5000
scheduler interval 500
!
end
 
Can you put the Web server on one of the PIX DMZ's? That would make it easier. That way you wouldn't need to implement firewalling on the 837 router.
 
Bell1996,
Thanks for replying. I put the webserver behind the PIX on one of the VLAN ports on Friday. Will attempt to remove the FW on the router. I'll post on my progress....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top