Question

Pix 506e recommended install config?

Asked by: billbiv

I am getting ready to put a Cisco PIX506e in front of an existing mail/web/sql server that is collocated at an ISP.  I am then going to separate the mail and web services onto two different machines which will use each other for back-up file storage.  I want to be able to manage those machines securely from my office and to also offer secure and fast publicly acessible web, mail and ftp services for my clients - all things I am doing now, but with less security and reliability than I hope to have with the new config.

I have had some experience assisting a client in troubleshooting their Cisco configuration, so I have become familiar with the command-line interface and the procedure for adding/removing lines from the config file.  I do not, however, have enough experience to do the config I am about to do entirely from scratch without assistance...

So, I'm asking - what I would really like is a solid basic sample configuration for my requirements.  I've searched on the web and not found much of anything that really was very helpful. I do have a couple of the Cisco books, and am studying them, but I thought I'd give this a shot as well, thinking someone may have worked enough with similar configs that they could throw something back at me pretty easily.  Could be wrong, but it's worth a shot...

Here are my basic specs:

The external IP ranges are xx.xxx.x.144 -xx.xxx.x.175 (with 175 being reserved as the address for the PIX external interface)

The internal IP range will be 192.168.1.1 - 192.168.1.254

The primary IP for the mail server will be xx.xxx.x.144 ---> 192.168.1.10
The primary IP for the web/SQL server will be xx.xxx.x.145 ---> 192.168.1.31

The public IP address of my home/office router is xx.xx.xx.75

I need to be able to either VPN in or to allow myself terminal service and Enterprise Manger access to the servers behind the firewall via my own IP address.  On my end at the office, I am using a small netgear cable/dsl router (RT314).  I'd be pysched if I were able to actuall "Network" to the servers behind the firewall, but I'm not sure I have everything I need on both ends to do that -- I would be willing to spend an additional $500 for that ability, but not much more.

Here are my initial routing requirements --->

For the mail services, I need to route the following external IPs to the indicated internal IPs on the mail server. I want to restrict the traffic to only those ports and types of traffic required, which include: smtp, pop3, and ports 143, 366, 389, 465, 995, 1000, 3000 and 3002:

xx.xxx.x.144 --> 192.168.1.10
xx.xxx.x.146--> 192.168.1.11
xx.xxx.x.157--> 192.168.1.12
xx.xxx.x.158 --> 192.168.1.13
xx.xxx.x.165 --> 192.168.1.14


For the web services, I need to route these external IPs to the web/sql server unit and restrict the traffic to 80, 443, 21:

xx.xxx.x.145--> 192.168.1.31
xx.xxx.x.148--> 192.168.1.32
xx.xxx.x.153--> 192.168.1.33
xx.xxx.x.158--> 192.168.1.34
xx.xxx.x.162--> 192.168.1.34

One or two lines of examples of how to set up the routing for IP and Ports to each server are sufficient - I don't need to whole config, just the stuff to get me started - but I would really appreciate guidance on efficiency items like named access-lists if I should go that route.  I add a new site/domain maybe once a month or so and mail services (usually to the same IP, but sometimes I choose to dedicate a new IP) about 1/2 as often.  We are posting files to the servers daily and have about 5 cleints that we grant FTP access to their sites.

The other thing I'm looking for is some idea of what statements are not really necessary but that might pop up in the default config, as well as clarity on which statements MUST exist.

If it's helpful as a starting point, here is the current config on the PIX that I want to set up to take to the ISP (anything in here is due to default settings or my attempts to set some things up experimentally):

PIX Version 6.1(4)
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password xxxxxxxxxxxxxxxx
passwd xxxxxxxxxxxxxxxxx
hostname pixfirewall
domain-name ciscopix.com
fixup protocol ftp 21
fixup protocol http 80
fixup protocol h323 1720
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol sip 5060
fixup protocol skinny 2000
names
pager lines 24
logging on
interface ethernet0 auto
interface ethernet1 auto
mtu outside 1500
mtu inside 1500
ip address outside dhcp setroute
ip address inside 192.168.1.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 0.0.0.0 0.0.0.0 inside
pdm logging errors 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h323
0:05:00 si
p 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server RADIUS protocol radius
http server enable
http 0.0.0.0 0.0.0.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
no sysopt route dnat
telnet timeout 5
ssh timeout 5
dhcpd address 192.168.1.50-192.168.1.150 inside


Any and all help is definitely appreciated -- I have already benefitted a lot from this forum and really appreciate the exchange.

billbiv

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2003-10-13 at 15:50:13ID20765756
Tags

pix

,

506e

,

cisco

Topics

Network Software Firewalls

,

Cisco PIX Firewall

,

Enterprise Firewalls

Participating Experts
3
Points
500
Comments
8

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. PIX and xlate problems
    I administer a PIX IOS 6.2(2), and I have problems connecting to an external FTP/Telnet server, the error is as follows: %PIX-3-305006: portmap translation creation failed for tcp src inside:11.254.20.43/1589 dst outside:204.153.24.233/21 the problem is solved after I run ...
  2. CISCO PIX VPN Config
    Hi There I have a client in our network which needs to connect to a VPN in the states, how do i configure our firewall PIX 501 to allow VPN out/in? Here is my router config - I will need to know the command line as my knowledge on PIX is very limited. PLEASE HELP - VERY UR...
  3. PIX VPN CONFIG
    HI GUYS I AM STILL HAVING TROUBLE CONNECTING TO A VPN IN THE STATES THROUGH OUR FIREWALL, I HAVE ENTERED THE SETTINGS/COMMANDS PROVIDED BY YOU AND YET STILL NO LUCK. IF THIS FIREWALL WAS NEW AND NEVER SETUP FOR A VPN, WHAT IS THE CORRECT WAY TO DO THIS "COMMAND LINE&qu...
  4. PIX to PIX config
    What would i have to add to do PIX to PIX? PIX Version 6.3(4) interface ethernet0 auto interface ethernet1 100full nameif ethernet0 outside security0 nameif ethernet1 inside security100 enable password OqoxxxxxxyiOlh encrypted passwd 2KxxnbxxxxxxxxU encrypted hostname NAfir...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: dmgadminPosted on 2003-10-14 at 01:05:27ID: 9545277

see if this helps you out. I used this for the first PIX i ever configured.

http://www.cisco.com/warp/public/707/28.html#conduit

 

by: lrmoorePosted on 2003-10-14 at 05:38:05ID: 9546402

Suggest not using conduits. 6.0 and above should use access-lists instead. Conduit support will die out in newer revisions of code.

Suggest upgrading to latest code - 6.3(3) with PDM 3.01. You'll like the PDM GUI

Suggest VPN'ing in to access the servers. Much more secure. Just make sure your home local LAN is not 192.168.1.x - same as the LAN there. Use the Cisco IPSEC VPN client 4.x

Since you have an assigned IP address, you'll first want to change this:
>ip address outside dhcp setroute
to this:
 ip address outside xx.xx.xx.175 255.255.255.224 < assuming this is correct mask

You'll also need a default gateway:
  route outside 0.0.0.0 0.0.0.0 xx.xx.xx.143 < whatever is upstream router

Setup static addresses for servers:
static (inside,outside) xx.xx.xx.144 192.168.1.10 netmask 255.255.255.255
static (inside,outside) xx.xx.xx.145 192.168.1.11 netmask 255.255.255.255
static (inside,outside) xx.xx.xx.146 192.168.1.12 netmask
255.255.255.255
<etc>

now create access-lists for all your services
access-list inbound permit tcp any host xx.xx.xx.145 eq http
access-list inbound permit tcp any host xx.xx.xx.148 eq http
access-list inbound permit tcp any host xx.xx.xx.153 eq http
access-list inbound permit tcp any host xx.xx.xx.145 eq https
access-list inbound permit tcp any host xx.xx.xx.148 eq https
access-list inbound permit tcp any host xx.xx.xx.153 eq https
access-list inbound permit tcp any host xx.xx.xx.145 eq ftp
access-list inbound permit tcp any host xx.xx.xx.148 eq ftp
access-list inbound permit tcp any host xx.xx.xx.153 eq ftp
<etc>
>smtp, pop3, and ports 143, 366, 389, 465, 995, 1000, 3000 and 3002:
access-list inbound permit tcp any host xx.xx.xx.144 eq smtp
access-list inbound permit tcp any host xx.xx.xx.144 eq pop3
access-list inbound permit tcp any host xx.xx.xx.144 eq 143
access-list inbound permit tcp any host xx.xx.xx.144 eq 366
access-list inbound permit tcp any host xx.xx.xx.144 eq 389
access-list inbound permit tcp any host xx.xx.xx.144 eq 465
access-list inbound permit tcp any host xx.xx.xx.144 eq 995
access-list inbound permit tcp any host xx.xx.xx.144 eq 1000
access-list inbound permit tcp any host xx.xx.xx.144 eq 3000
access-list inbound permit tcp any host xx.xx.xx.144 eq 3002
<etc>

You could create protocol groups that includes all the above ports, and assign the servers into groups. Then assign the protocol group to the server group in a simpler access-list, but then we're getting away from the basics..

>The other thing I'm looking for is some idea of what statements are not really necessary but that might pop up in the default config, as well as clarity on which statements MUST exist.

Everything you see in the default config should stay except for the outside address, and the snmp community string.
Change this:
>snmp-server community public
to
snmp-server community <anything except "public">
Use good password rules for the community string, i.e.
snmp-server community MyGoodPa$$worD

Here are directions for setting up for the VPN client:
http://www.cisco.com/warp/public/110/pix3000.html


 

by: billbivPosted on 2003-10-14 at 07:42:36ID: 9547388

Irmoore, thank you very much!  That's exactly what I was looking for.  I may have a follow-up question later today after I review -- I'll post again if I do.  Wanted to say thanks first!

dmgadmin, thanks for the link - good info. Irmoore's response is what I was hoping for, though.

 

by: billbivPosted on 2003-10-14 at 18:58:54ID: 9551648

Irmoore, could you give me a link to download and/or purchase the VPN client software?  It's just not clear to me after jumping to many different places -- it looks like this may be it, but I can't tell for sure:

http://www2.warehouse.com/product.asp?pf_id=VW109526&prod=overview&blind=no&blnCust=0&view=&bcid=13522352


It looks like I will have to get the 6.3(3) upgrade from the distributor I bought the Pix from in June (Microwarehouse).  Is that your understanding? Is there any way to get the upgrade via Cisco (without paying $)?

billbiv

 

by: lrmoorePosted on 2003-10-14 at 20:09:00ID: 9551906

The VPN client is free download from Cisco, but you need a CCO login. You should be able to get it if you provide your PIX serial number.
The upgrade will require you to purchase smartnet maintenance. With that you can register for a cco login and get the upgrade and the VPN software all at once. Contact the reseller for this..

 

by: billbivPosted on 2003-10-15 at 13:05:58ID: 9557498

Ok, I'm working on getting the login -- guess I'll have to purchase an agreement from someone local...

Thanks for everything - closing this out now!

billbiv

 

by: cankaluPosted on 2005-09-27 at 09:20:32ID: 14967981

Hi

I am trying to provide the SQL Server access to the oustside. I created a static route to my server and then I opend the port using

access-list acl_out permit tcp any host 70.xxx.xx.102 eq 1433

But when I scan the ip address, it shows me the port is filtered, not open.

When I open the http or ftp port usng the similar command, the ports are open and they work fine. I could not get my SQL Server connected from outside. Please... help me out.

I am a newbie to this. I am configuring a Cisco PIX 506E.

Please direct me to some material...

thanks alot
Chandra

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...