Archived from groups: comp.security.firewalls (More info?)
Here's what should be a simple config issue... We have a PIX501, and a
web server behind it. I need everyone from the Outside
interface to be able to view our website sitting behind the firewall at
an internal address. I've done this on many other firewalls, but it's
not intuitive to me how to accomplish this on the PIX 501. Can anyone
tell me the easy way to accomplish this either on the command line or
by adding a new access rule in PDM?
Here is my currnet config that does not work (try not to laugh):
Building configuration...
: Saved
:
PIX Version 6.3(4)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password XujHs/xHAoVN3ltj encrypted
passwd XujHs/xHAoVN3ltj encrypted
hostname XXXX
domain-name XXXX.com
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.4.192 WEB
object-group service HTTPHTTPS tcp
port-object eq www
port-object eq https
access-list inside_outbound_nat0_acl permit ip any 192.168.4.80
255.255.255.240
access-list outside_cryptomap_dyn_20 permit ip any 192.168.4.80
255.255.255.240
access-list outside_cryptomap_dyn_40 permit ip any 192.168.4.80
255.255.255.240
access-list outside_access_in remark HTTP
access-list outside_access_in permit tcp interface outside eq www host
RCMSWEB eq www log
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 198.107.3.16 255.255.255.0
ip address inside 192.168.4.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool VPNIP 192.168.4.80-192.168.4.95
pdm location 192.168.11.0 255.255.255.0 inside
pdm location RCMSWEB 255.255.255.255 inside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
global (inside) 2 interface
nat (inside) 0 access-list inside_outbound_nat0_acl
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) RCMSWEB RCMSWEB netmask 255.255.255.255 0 0
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 198.107.3.1 1
timeout xlate 0:05: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.4.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto dynamic-map outside_dyn_map 20 match address
outside_cryptomap_dyn_20
crypto dynamic-map outside_dyn_map 20 set transform-set ESP-3DES-MD5
crypto dynamic-map outside_dyn_map 40 match address
outside_cryptomap_dyn_40
crypto dynamic-map outside_dyn_map 40 set transform-set ESP-3DES-MD5
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
crypto map outside_map interface outside
isakmp enable outside
isakmp policy 20 authentication pre-share
isakmp policy 20 encryption 3des
isakmp policy 20 hash md5
isakmp policy 20 group 2
isakmp policy 20 lifetime 86400
vpngroup rcmsremote address-pool VPNIP
vpngroup rcmsremote idle-time 1800
vpngroup rcmsremote password ********
telnet 192.168.4.0 255.255.255.0 inside
telnet 192.168.11.0 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd address 192.168.4.50-192.168.4.72 inside
dhcpd dns 192.168.4.2 204.130.255.3
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd domain XXXX.com
dhcpd auto_config outside
dhcpd enable inside
username ctsmc password ax5xsIDMOXb3cUhr encrypted privilege 15
terminal width 80
Cryptochecksum:e4d85167a9872b642304af17f0bf7ce2
: end
[OK]
I can factory default this thing if it's easier to start from scratch.
Please advise, and thanks in advance for any help!
Here's what should be a simple config issue... We have a PIX501, and a
web server behind it. I need everyone from the Outside
interface to be able to view our website sitting behind the firewall at
an internal address. I've done this on many other firewalls, but it's
not intuitive to me how to accomplish this on the PIX 501. Can anyone
tell me the easy way to accomplish this either on the command line or
by adding a new access rule in PDM?
Here is my currnet config that does not work (try not to laugh):
Building configuration...
: Saved
:
PIX Version 6.3(4)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password XujHs/xHAoVN3ltj encrypted
passwd XujHs/xHAoVN3ltj encrypted
hostname XXXX
domain-name XXXX.com
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.4.192 WEB
object-group service HTTPHTTPS tcp
port-object eq www
port-object eq https
access-list inside_outbound_nat0_acl permit ip any 192.168.4.80
255.255.255.240
access-list outside_cryptomap_dyn_20 permit ip any 192.168.4.80
255.255.255.240
access-list outside_cryptomap_dyn_40 permit ip any 192.168.4.80
255.255.255.240
access-list outside_access_in remark HTTP
access-list outside_access_in permit tcp interface outside eq www host
RCMSWEB eq www log
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 198.107.3.16 255.255.255.0
ip address inside 192.168.4.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool VPNIP 192.168.4.80-192.168.4.95
pdm location 192.168.11.0 255.255.255.0 inside
pdm location RCMSWEB 255.255.255.255 inside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
global (inside) 2 interface
nat (inside) 0 access-list inside_outbound_nat0_acl
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) RCMSWEB RCMSWEB netmask 255.255.255.255 0 0
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 198.107.3.1 1
timeout xlate 0:05: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.4.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto dynamic-map outside_dyn_map 20 match address
outside_cryptomap_dyn_20
crypto dynamic-map outside_dyn_map 20 set transform-set ESP-3DES-MD5
crypto dynamic-map outside_dyn_map 40 match address
outside_cryptomap_dyn_40
crypto dynamic-map outside_dyn_map 40 set transform-set ESP-3DES-MD5
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
crypto map outside_map interface outside
isakmp enable outside
isakmp policy 20 authentication pre-share
isakmp policy 20 encryption 3des
isakmp policy 20 hash md5
isakmp policy 20 group 2
isakmp policy 20 lifetime 86400
vpngroup rcmsremote address-pool VPNIP
vpngroup rcmsremote idle-time 1800
vpngroup rcmsremote password ********
telnet 192.168.4.0 255.255.255.0 inside
telnet 192.168.11.0 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd address 192.168.4.50-192.168.4.72 inside
dhcpd dns 192.168.4.2 204.130.255.3
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd domain XXXX.com
dhcpd auto_config outside
dhcpd enable inside
username ctsmc password ax5xsIDMOXb3cUhr encrypted privilege 15
terminal width 80
Cryptochecksum:e4d85167a9872b642304af17f0bf7ce2
: end
[OK]
I can factory default this thing if it's easier to start from scratch.
Please advise, and thanks in advance for any help!