Open ports 443 and 102 on Pix 501

Posted on 2010-08-12
Last Modified: 2012-05-10

I have configured a Pix 501 to allow ipsec pass-through. It's taken me some time to figure that out but made it. Would like a little more assistance please. Below you'll see my current config. I need to open ports 443 and 102 to allow access to an https web site. Would you give me some direction ?


PIX Version 6.3(5)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
fixup protocol dns maximum-length 512
fixup protocol esp-ike
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
access-list outside_access_in permit esp any any
access-list outside_access_in permit udp any any eq isakmp
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside
ip address inside 555.66.77.888
ip audit info action alarm
ip audit attack action alarm
pdm location outside
pdm history enable
arp timeout 14400
global (outside) 10 interface
nat (inside) 10 0 0
static (inside,outside) 555.66.77.888 netmask 0 0

static (inside,outside) 555.66.77.888 netmask 0 0

access-group outside_access_in in interface outside
route outside 1
route inside 555.66.77.888 1
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 sip-disconnect 0:02:00 sip-invite 0:03: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 555.66.0.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
telnet timeout 5
ssh timeout 5
console timeout 0
terminal width 80
: end

Question by:enorman1
  • 8
  • 6
LVL 10

Expert Comment

ID: 33424586
Basic addition to your current setup:

static (inside,outside) <PUBLIC IP> <IP OF THE WEBSITE> netmask 0 0
access-list outside_access_in permit tcp any any eq 443
access-list outside_access_in permit tcp any any eq 102
LVL 10

Expert Comment

ID: 33424647
Sorry, too quick with the copy/paste...

static (inside,outside) <PUBLIC IP> <IP OF THE WEBSITE> netmask 0 0
access-list outside_access_in permit udp any host <PUBLIC IP> eq 443
access-list outside_access_in permit udp any host <PUBLIC IP> eq 120
LVL 10

Expert Comment

ID: 33424666
I really wish there was an edit option...once again

static (inside,outside) <PUBLIC IP> <IP OF THE WEBSITE> netmask 0 0
access-list outside_access_in permit tcp any host <PUBLIC IP> eq 443
access-list outside_access_in permit tcp any host <PUBLIC IP> eq 120
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.


Author Comment

ID: 33424796
One quick note, the only way to access this web site is through a VPN. does your config above still apply ?
LVL 10

Expert Comment

ID: 33429317
No it doesn't, that config would be for allowing outside traffic to your website.  I don't see any VPN config on your PIX.  Do they VPN to your network through a different device?

Author Comment

ID: 33429398
We're using vpn software from hte client. I do have the ports open:443 and 102. Isntead of using an ip for the wed site, can i alternatively use the wed site address (url) ?
LVL 10

Expert Comment

ID: 33429433
I need to understand your VPN better to answer this.  From what I'm getting so far your clients are running a VPN client that allows them to connect to your network and it required you to open ports 443 and 102.  Is that correct?

What VPN solution are you using?

What are you using for authentication?


Author Comment

ID: 33429521
That's fairly correct. Let me expalin. 2 clients from inside the network are trying to access a secured web site via Cisco vpn. I'm using a pix 501configured to allow ipsec pass-through. my clients have static ip's assigned to their workstations. on the pix, i have a static mapping from the client to a public ip. Once the client has successfully conencted via vpn, they then try to access 1 specific https web site. Does this help ?
LVL 10

Expert Comment

ID: 33429602
Actually I'm more confused you have two users with workstations inside your LAN that are connecting via VPN to another location to access a secure website?  

Author Comment

ID: 33429743
Yup. that's exactly right.
LVL 10

Accepted Solution

qbakies earned 125 total points
ID: 33429827
Then there is nothing that you should need to do.  Once they are connected to the remote VPN any 'interesting traffic' (as defined by the Cisco device they to which they are connecting) will be passed down the tunnel.  Your firewall has nothing to do with it anymore.  The configuration of the Cisco device to which they are connecting needs to be setup to see them trying to hit the secure website as interesting traffic and send that down the tunnel.

Remember that firewalls are only meant to keep things from getting into your network that shouldn't, not keep things from getting out (unless you have them configured that way for some reason).  I'm actually surprised you had to configure IPsec pass-through but it must be because you are using a 501 with an older PIX Version.  Once your clients make that VPN connection your firewall is out of the loop.  The Cisco device on the other end is what need to be adjusted.

Author Closing Comment

ID: 33432661

Author Comment

ID: 33432665
Your answer were right on the money. Thank you.
LVL 10

Expert Comment

ID: 33432683
Glad I could help clear things up.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have an ASA5510 then this sort of thing would be better handled with a CSC Module, however on an ASA5505 thats not an option, and if you want to throw in a quick solution to stop your staff going to facebook during work time, then this is the…
When speed and performance are vital to revenue, companies must have complete confidence in their cloud environment.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question