PIX 501 Config question for Web Server

Posted on 2010-01-12
Medium Priority
Last Modified: 2012-05-08
Hello.. I have a PIX 501 and want to set it up so that http and https traffic goes to my webserver on my network.  I have read a few posts here and am not really sure which direction to go.  Any advice would be greatly appreciated...
Question by:JBESyst
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 13

Expert Comment

ID: 26300146
Assuming your Pix501 is already working (IP addresses setup correctly, routing, nat, acl all setup correctly).

To add a public server which allow http & https:

! x.x.x.x is one of the public IP that your ISP gave you and you assign this to your web server
! y.y.y.y is the internal IP address of your web server
static (inside,outside) x.x.x.x y.y.y.y
! allow incoming traffic to your web server
access-list acl-out permit ip any host x.x.x.x eq 80
access-list acl-out permit ip any host x.x.x.x eq 443
access-group acl-out in interface outside


Author Comment

ID: 26300194
Yes the router is up and running but I probably should have mentioned my outside address is dynamic.. is through the cable company..  will this change the config or should I put what IP address the router pulled from DHCP in the x.x.x.x spot?
LVL 13

Expert Comment

ID: 26300235
In that case, it is unlikely that your ISP give you more than one IP address. You basically have to share that IP address with everything else. Use this instead:

static (inside,outside) tcp interface 80 1y.y.y.y 80 netmask
static (inside,outside) tcp interface 443 1y.y.y.y 443 netmask
access-list acl-out permit ip any any eq 80
access-list acl-out permit ip any any eq 443
access-group acl-out in interface outside

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.


Author Comment

ID: 26300269
One more silly question . is the 1 infront of the y.y.y.y something that sould be there lik  1192.168.123.3 or is it the just the beginning of the address like
LVL 13

Accepted Solution

GuruChiu earned 2000 total points
ID: 26300402
Good catch. It is a typo. it should be:

static (inside,outside) tcp interface 80 y.y.y.y 80 netmask
static (inside,outside) tcp interface 443 y.y.y.y 443 netmask

Author Comment

ID: 26300425
thanks for the help mate...

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
On Feb. 28, Amazon’s Simple Storage Service (S3) went down after an employee issued the wrong command during a debugging exercise. Among those affected were big names like Netflix, Spotify and Expedia.
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…
Suggested Courses
Course of the Month10 days, 11 hours left to enroll

765 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