Cannot access new website through PIX

Nov 01, 2005 11 Replies

I have a brand new PIX that is dedicated to a new network that i am putting together that will be exclusively for serving a website. It will be connected to its own cablemodem (once they get it to us) The problem is that i am fairly new to PIX configs and I cannot get traffic through the PIX to the website. Here is my config. please feel free to point out how lame my setup is! Any help is greatly appreciated!



sh run : Saved : PIX Version 6.3(4) interface ethernet0 auto interface ethernet1 auto interface ethernet2 auto shutdown nameif ethernet0 outside security0 nameif ethernet1 inside security100 nameif ethernet2 DMZ security1 enable password passwd hostname 0gzr00 domain-name .dom fixup protocol dns maximum-length 512 fixup protocol ftp 21 fixup protocol h323 h225 1720 fixup protocol h323 ras 1718-1719 fixup protocol http 80 fixup protocol rsh 514 fixup protocol rtsp 554 fixup protocol sip 5060 fixup protocol sip udp 5060 fixup protocol skinny 2000 fixup protocol smtp 25 fixup protocol sqlnet 1521 fixup protocol tftp 69 names name 192.168.10.2 isa access-list 101 permit tcp any host 10.10.10.1 eq https access-list 101 permit tcp any host 10.10.10.1 eq www pager lines 24 mtu outside 1500 mtu inside 1500 mtu DMZ 1500 ip address outside 10.10.10.1 255.255.255.0 ip address inside 192.168.10.1 255.255.255.0 no ip address DMZ ip audit info action alarm ip audit attack action alarm pdm location 192.168.0.0 255.255.0.0 inside pdm logging informational 100 pdm history enable arp timeout 14400 static (inside,outside) 10.10.10.1 isa netmask 255.255.255.255 0 0 access-group 101 in interface outside timeout xlate 3:00:00 timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225



1:00:00 timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00 timeout uauth 0:05:00 absolute aaa-server TACACS+ protocol tacacs+ aaa-server TACACS+ max-failed-attempts 3 aaa-server TACACS+ deadtime 10 aaa-server RADIUS protocol radius aaa-server RADIUS max-failed-attempts 3 aaa-server RADIUS deadtime 10 aaa-server LOCAL protocol local http server enable http 192.168.10.0 255.255.255.0 inside no snmp-server location no snmp-server contact snmp-server community public no snmp-server enable traps tftp-server inside 192.168.10.254 / floodguard enable telnet timeout 5 ssh 192.168.0.0 255.255.0.0 inside ssh timeout 30 console timeout 0 terminal width 80 banner exec ***** Authorized Use ONLY Cryptochecksum:7c1c2612b2bb826cf3633358db78ef3f : end
0gzr00(config)#


thanks in advance.



At some point you might want to update to 6.3(5), as it has a number of bug fixes.

access-list 101 permit tcp any interface outside eq https access-list 101 permit tcp any interface outside eq www

static (inside,outside) tcp interface https isa https netmask 255.255.255.255 0 0 static (inside,outside) tcp interface www isa www netmask 255.255.255.255 0 0

Configuring for DNS should not be necessary unless the OP is running an internal DNS server that outside people are querying. If the OP is using an external DNS service, then internal connections to that will be outgoing connections under the control of the outgoing ACL (if any), and the responses that come back within a reasonable period will get through because of the temporary exemption created by the Adaptive Security Algorithm when it sees the outgoing request.

Thanks so much for your quick reply! I really appreciate it.

The access-list additions went in no problem, but the 'static' entries error saying "ERROR: duplicate of existing static"

Thanks again

In article , wrote: :The access-list additions went in no problem, but the 'static' entries :error saying :"ERROR: duplicate of existing static"

Remove the existing statics first.

I was able to remove the existing static and put in the entries you mentioned but i am still not able to get the website to come up

In article , wrote: :I was able to remove the existing static and put in the entries you :mentioned but i am still not able to get the website to come up

The access-list entries I shows were not *additions* but *replacements*, and strange things can happen when you name an interface IP directly in an access list. Take out the old entries and try again, and if that doesn't work, please post the updated config.

Here we go. Still doesnt seem to be working. I wonder if I am trying to access the 'website' properly. I have a machine hooked up to the 'outside' interface with an ip of 10.10.10.254 and i am entering going to http://10.10.10.1/

heres the config

sh run : Saved : PIX Version 6.3(4) interface ethernet0 auto interface ethernet1 auto interface ethernet2 auto shutdown nameif ethernet0 outside security0 nameif ethernet1 inside security100 nameif ethernet2 DMZ security1 enable password passwd hostname 0gzr00 domain-name .dom fixup protocol dns maximum-length 512 fixup protocol ftp 21 fixup protocol h323 h225 1720 fixup protocol h323 ras 1718-1719 fixup protocol http 80 fixup protocol rsh 514 fixup protocol rtsp 554 fixup protocol sip 5060 fixup protocol sip udp 5060 fixup protocol skinny 2000 fixup protocol smtp 25 fixup protocol sqlnet 1521 fixup protocol tftp 69 names name 192.168.10.2 isa access-list 101 permit tcp any interface outside eq https access-list 101 permit tcp any interface outside eq www pager lines 24 mtu outside 1500 mtu inside 1500 mtu DMZ 1500 ip address outside 10.10.10.1 255.255.255.0 ip address inside 192.168.10.1 255.255.255.0 no ip address DMZ ip audit info action alarm ip audit attack action alarm pdm location 192.168.0.0 255.255.0.0 inside pdm logging informational 100 pdm history enable arp timeout 14400 static (inside,outside) tcp interface https isa https netmask

255.255.255.255 0 0 static (inside,outside) tcp interface www isa www netmask 255.255.255.255 0 0 access-group 101 in interface outside timeout xlate 3:00:00 timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00 timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00 timeout uauth 0:05:00 absolute aaa-server TACACS+ protocol tacacs+ aaa-server TACACS+ max-failed-attempts 3 aaa-server TACACS+ deadtime 10 aaa-server RADIUS protocol radius aaa-server RADIUS max-failed-attempts 3 aaa-server RADIUS deadtime 10 aaa-server LOCAL protocol local http server enable http 192.168.10.0 255.255.255.0 inside no snmp-server location no snmp-server contact snmp-server community public no snmp-server enable traps tftp-server inside 192.168.10.254 / floodguard enable telnet timeout 5 ssh 192.168.0.0 255.255.0.0 inside ssh timeout 30 console timeout 0 terminal width 80 banner exec ***** Authorized Use ONLY Cryptochecksum:b45719a5ec6d9a34658adbd1260b5a4b : end 0gzr00#

sh run : Saved : PIX Version 6.3(4) interface ethernet0 auto interface ethernet1 auto interface ethernet2 auto shutdown nameif ethernet0 outside security0 nameif ethernet1 inside security100 nameif ethernet2 DMZ security1 enable password passwd hostname 0gzr00 domain-name .dom fixup protocol dns maximum-length 512 fixup protocol ftp 21 fixup protocol h323 h225 1720 fixup protocol h323 ras 1718-1719 fixup protocol http 80 fixup protocol rsh 514 fixup protocol rtsp 554 fixup protocol sip 5060 fixup protocol sip udp 5060 fixup protocol skinny 2000 fixup protocol smtp 25 fixup protocol sqlnet 1521 fixup protocol tftp 69 names name 192.168.10.2 isa access-list 101 permit tcp any interface outside eq https access-list 101 permit tcp any interface outside eq www pager lines 24 mtu outside 1500 mtu inside 1500 mtu DMZ 1500 ip address outside 10.10.10.1 255.255.255.0 ip address inside 192.168.10.1 255.255.255.0 no ip address DMZ ip audit info action alarm ip audit attack action alarm pdm location 192.168.0.0 255.255.0.0 inside pdm logging informational 100 pdm history enable arp timeout 14400 static (inside,outside) tcp interface https isa https netmask

255.255.255.255 0 0 static (inside,outside) tcp interface www isa www netmask 255.255.255.255 0 0 access-group 101 in interface outside timeout xlate 3:00:00 timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00 timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00 timeout uauth 0:05:00 absolute aaa-server TACACS+ protocol tacacs+ aaa-server TACACS+ max-failed-attempts 3 aaa-server TACACS+ deadtime 10 aaa-server RADIUS protocol radius aaa-server RADIUS max-failed-attempts 3 aaa-server RADIUS deadtime 10 aaa-server LOCAL protocol local http server enable http 192.168.10.0 255.255.255.0 inside no snmp-server location no snmp-server contact snmp-server community public no snmp-server enable traps tftp-server inside 192.168.10.254 / floodguard enable telnet timeout 5 ssh 192.168.0.0 255.255.0.0 inside ssh timeout 30 console timeout 0 terminal width 80 banner exec ***** Authorized Use ONLY Cryptochecksum:b45719a5ec6d9a34658adbd1260b5a4b : end 0gzr00#

Have you rebooted the PIX since making the changes suggested by Walter? Sometimes a 'clear xlate' isn't enough and a reboot sorts it out.

Regards,

Nick Ersdown

I did end up getting it all to work. Thanks all for your help. I really appreciate it.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required