Hey all,
I need to configure a PIX 506E to allow incoming connections from WAN, using HTTP, HTTP and TerminalSvcs (3389), to a single host (Win Srv 2008 with IIS7).
Network setup:
WAN: Single static IP
LAN Server address: 192.168.1.1
I currently have 3 NAT policies translating the external IP (which is the WAN interface IP) to the LAN Host (192.168.1.1). Each policy is in charge of translation for a different service (HTTP, HTTPS, or Terminal Svcs.
In the Access Rules I have a single incoming access rule allowing all services (all ports) from the WAN interface IP to 192.168.1.1.
Here's the odd part: incoming RDP connections are working great... however, I can't establish HTTP or HTTPS connections to the default IIS7 welcome page through the PIX. I can access the default web page internally from the LAN, on both HTTP and HTTPS... so I know the website is running. I don't think that I am being blocked by an IIS IP restriction as I don't get an IIS access denied page. When I attempt to contact the server via HTTP/s I just get a 'page not found' error.
Could someone more familiar with PIX configs look over my config and see if everything is setup properly?
Building configuration...
: Saved
:
PIX Version 6.3(4)
interface ethernet0 auto
interface ethernet1 auto
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password * encrypted
passwd * encrypted
hostname pixfirewall
domain-name ciscopix.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
object-group service SERVERservices tcp
port-object eq www
port-object eq 3389
port-object eq https
access-list outside_access_in permit tcp any interface outside
access-list inside_outbound_nat0_acl permit ip any 192.168.1.192 255.255.255.224
access-list outside_cryptomap_dyn_20 permit ip any 192.168.1.192 255.255.255.224
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 209.*.*.110 255.255.255.0
ip address inside 192.168.1.251 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool POOLNAME 192.168.1.200-192.168.1.210
pdm location 209.*.*.78 255.255.255.255 outside
pdm location 192.168.1.0 255.255.255.0 inside
pdm location 192.168.1.1 255.255.255.255 inside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 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) tcp interface www 192.168.1.1 www netmask 255.255.255.255 0 0
static (inside,outside) tcp interface 3389 192.168.1.1 3389 netmask 255.255.255.255 0 0
static (inside,outside) tcp interface https 192.168.1.1 https 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 209.*.*.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 209.*.*.78 255.255.255.255 outside
http 192.168.1.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 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 VPN address-pool POOLNAME
vpngroup VPN dns-server 192.168.1.10
vpngroup VPN wins-server 192.168.1.10
vpngroup VPN default-domain domain.com.local
vpngroup VPN idle-time 1800
vpngroup VPN password ********
telnet timeout 5
ssh timeout 5
console timeout 15
terminal width 80
Cryptochecksum:******
: end
[OK]
I need to configure a PIX 506E to allow incoming connections from WAN, using HTTP, HTTP and TerminalSvcs (3389), to a single host (Win Srv 2008 with IIS7).
Network setup:
WAN: Single static IP
LAN Server address: 192.168.1.1
I currently have 3 NAT policies translating the external IP (which is the WAN interface IP) to the LAN Host (192.168.1.1). Each policy is in charge of translation for a different service (HTTP, HTTPS, or Terminal Svcs.
In the Access Rules I have a single incoming access rule allowing all services (all ports) from the WAN interface IP to 192.168.1.1.
Here's the odd part: incoming RDP connections are working great... however, I can't establish HTTP or HTTPS connections to the default IIS7 welcome page through the PIX. I can access the default web page internally from the LAN, on both HTTP and HTTPS... so I know the website is running. I don't think that I am being blocked by an IIS IP restriction as I don't get an IIS access denied page. When I attempt to contact the server via HTTP/s I just get a 'page not found' error.
Could someone more familiar with PIX configs look over my config and see if everything is setup properly?
Building configuration...
: Saved
:
PIX Version 6.3(4)
interface ethernet0 auto
interface ethernet1 auto
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password * encrypted
passwd * encrypted
hostname pixfirewall
domain-name ciscopix.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
object-group service SERVERservices tcp
port-object eq www
port-object eq 3389
port-object eq https
access-list outside_access_in permit tcp any interface outside
access-list inside_outbound_nat0_acl permit ip any 192.168.1.192 255.255.255.224
access-list outside_cryptomap_dyn_20 permit ip any 192.168.1.192 255.255.255.224
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 209.*.*.110 255.255.255.0
ip address inside 192.168.1.251 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool POOLNAME 192.168.1.200-192.168.1.210
pdm location 209.*.*.78 255.255.255.255 outside
pdm location 192.168.1.0 255.255.255.0 inside
pdm location 192.168.1.1 255.255.255.255 inside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 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) tcp interface www 192.168.1.1 www netmask 255.255.255.255 0 0
static (inside,outside) tcp interface 3389 192.168.1.1 3389 netmask 255.255.255.255 0 0
static (inside,outside) tcp interface https 192.168.1.1 https 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 209.*.*.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 209.*.*.78 255.255.255.255 outside
http 192.168.1.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 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 VPN address-pool POOLNAME
vpngroup VPN dns-server 192.168.1.10
vpngroup VPN wins-server 192.168.1.10
vpngroup VPN default-domain domain.com.local
vpngroup VPN idle-time 1800
vpngroup VPN password ********
telnet timeout 5
ssh timeout 5
console timeout 15
terminal width 80
Cryptochecksum:******
: end
[OK]