[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1380
  • Last Modified:

PIX 506E, v6.3.3, Port Redirect?

Am trying to allow users on the Internet access to a Web based mail server using HTTP & HTTPS.
So far have been unable to access the internal server that is hosting the Web site.
Have one external IP address at my disposal! Can acquire additional IP addresses, if need be.
Below is my config for the PIX. Have using the PDM to configure the firewall and thus far Am not impresed with the interface or the help files. =P Would use the CLI, but Am intimidated by it.
Any assistance would be appreciated!

Thank you,

Mike

Building configuration...
: Saved
:
PIX Version 6.3(3)
interface ethernet0 auto
interface ethernet1 auto
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password wj4iBMlDvNpAxwiv encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname Anne
domain-name void.com
clock timezone MST -7
fixup protocol dns maximum-length 1500
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.33.33 First
name 192.168.33.36 Second
name 128.82.240.0 SpookyLabs
name 169.21.231.4 VAB
name 64.238.201.3 DeadWood
name 156.216.16.211 SpookyLabs2
object-group service HTTP tcp
  port-object eq www
  port-object eq https
access-list 101 permit ip any 10.1.2.0 255.255.255.0
access-list 201 permit tcp SpookyLabs 255.255.240.0 interface outside eq smtp log
access-list 201 permit tcp any interface outside eq www log
access-list outside_cryptomap_dyn_30 permit ip any 10.1.2.0 255.255.255.0
access-list acl_out permit tcp SpookyLabs 255.255.240.0 interface outside eq smtp log
access-list acl_out permit tcp host SpookyLabs2 interface outside eq smtp log
access-list acl_out permit tcp any interface outside object-group HTTP log
access-list acl_out deny tcp any interface outside eq smtp log
access-list inside_access_in permit ip any any log
access-list inside_access_in permit tcp host Second SpookyLabs 255.255.240.0 eq smtp log
access-list inside_access_in permit tcp host Second host SpookyLabs2 eq smtp log
access-list inside_access_in deny tcp any eq smtp any log
pager lines 24
logging on
logging timestamp
logging buffered debugging
logging trap notifications
logging facility 16
logging queue 0
logging host inside 192.168.33.109
icmp deny any outside
mtu outside 1500
mtu inside 1500
ip address outside 66.*.*.147 255.255.255.240
ip address inside 192.168.33.1 255.255.255.0
ip verify reverse-path interface outside
ip audit info action alarm
ip audit attack action alarm
ip local pool ippool 10.1.2.1-10.1.2.254
pdm location First 255.255.255.255 inside
pdm location Second 255.255.255.255 inside
pdm location SpookyLabs 255.255.240.0 outside
pdm location DeadWood 255.255.255.255 outside
pdm location VAB 255.255.255.192 outside
pdm location 192.168.33.109 255.255.255.255 inside
pdm location SpookyLabs2 255.255.255.255 outside
pdm location 66.*.*.144 255.255.255.240 inside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list 101
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) tcp interface smtp Second smtp netmask 255.255.255.255 0 0
static (inside,outside) tcp interface www Second www netmask 255.255.255.255 0 0
access-group acl_out in interface outside
access-group inside_access_in in interface inside
route outside 0.0.0.0 0.0.0.0 66.*.*.145 1
route outside SpookyLabs 255.255.240.0 66.*.*.145 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:05: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 RADIUS protocol radius
aaa-server LOCAL protocol local
http server enable
http 192.168.33.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 STRONGBAD esp-3des esp-md5-hmac
crypto dynamic-map dynmap 10 set transform-set STRONGBAD
crypto dynamic-map dynmap 30 match address outside_cryptomap_dyn_30
crypto dynamic-map dynmap 30 set transform-set STRONGBAD
crypto map EATS 10 ipsec-isakmp dynamic dynmap
crypto map EATS interface outside
isakmp enable outside
isakmp identity address
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption 3des
isakmp policy 10 hash md5
isakmp policy 10 group 2
isakmp policy 10 lifetime 86400
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 outside
ssh timeout 30
console timeout 0
terminal width 80
banner motd Welcome to the Inner Sanctum.
Cryptochecksum:ad3fe3c888f2b8f3948ffc40b72d43cf
: end
[OK]
0
keatscon
Asked:
keatscon
  • 2
1 Solution
 
keatsconAuthor Commented:
Okay, is it even possible to enable HTTPS to pass through a PIX, from the outside -> in?
I can find nothing on it in the "PIX Firewall Command Reference" nor in the "PIX Firewall and VPN Configuration Guide".

Regards,

Mike
0
 
lrmooreCommented:
If you want to redirect the interface IP port 443 to an inside host, you must create the port static:

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

And you must disable the internal http server because it only listens on port 443. You  cannot disable it by interface, and you will lose all ability to manage via the web gui.
   no http server enable

Then, you need to add acl permissions for inbound traffic to it:
   access-list inside_access_in permit tcp any interface outside eq https



0
 
keatsconAuthor Commented:
lrMoore,

     Thank you for the incantations, they worked!

     It looks like I will have to dig up a book on CLI Wizardy to learn the "command line".

Regards,

Mike
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now