• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 478
  • Last Modified:

PIX 501 SMTP and WWW


I've just got a PIX 501 and have no experience of configuring one of these devices.

Please could some tell me how to create a nice and simple setup which will allow my network traffic out and only SMTP and HTTP traffic in.


1 Solution
Hi jon,

Below is a simple PIX 501 config for you firewall. It allows SMTP and HTTP traffic in and your traffic out.

Replace the follwoing: with the external ip address of your firewall. with the ip address of your router. with the internal ip address of your firewall. with the internal ip address of your SMTP server. with the internal ip address of you HTTP server. with the internal ip address of the client machine you will use for managing the firewall.

firewall with the hostname of your firewall.

domainname.local with the internal domain name of your network.

-- copy the below and paste it into a console session while in config mode. --

interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
hostname firewall
domain-name domainname.local
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol ils 389
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
access-list 101 permit tcp any host eq smtp
access-list 101 permit tcp any host eq www
access-list 101 permit icmp any any echo-reply
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside
ip address inside
ip audit info action alarm
ip audit attack action alarm
pdm location inside
pdm history enable
arp timeout 14400
global (outside) 10 interface
nat (inside) 10 0 0
static (inside,outside) tcp smtp smtp netmask 0 0
static (inside,outside) tcp smtp www netmask 0 0
access-group 101 in interface outside
route outside 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 uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server RADIUS protocol radius
aaa-server LOCAL protocol local
http server enable
http inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
telnet timeout 5
console timeout 0
terminal width 80

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

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