Cisco Pix Default Configuration

By | January 31, 2006
The Cisco PIX Firewall is the dedicated firewall appliance in Cisco’s firewall family and holds the top ranking in both market share and performance. The Cisco PIX Firewall delivers strong security and, with market-leading performance. The configuration, however, can be somewhat cumbersome for the novice user. The following is a configuration script that will easily get your device up and running with the least amount of effort
To use this script, simply replace all CAPITALIZED items with the information that fits your network.
NOTE: This article assumes you know your way around a Cisco Pix.

NOTE: This has been tested on Cisco PIX IOS Version 6.0 or greater

———-COPY EVERYTHING BELOW THIS LINE———-
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
hostname HOSTNAME_HERE
domain-name DOMAIN_NAME_HERE
fixup protocol dns maximum-length 512
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
no names
access-list 100 permit icmp any any
access-list 100 permit icmp any any echo
access-list 100 permit icmp any any echo-reply
access-list 100 permit icmp any any unreachable
access-list 100 permit tcp any interface outside eq www
access-list 100 permit tcp any interface outside eq smtp
access-list 100 permit tcp any interface outside eq 3389
access-list 100 permit tcp any host OTHER_EXTERNAL_IP eq www
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside EXTERNAL_IP EXTERNAL_SUBNET_MASK
ip address inside INTERNAL_IP INTERNAL_SUBNET_MASK
ip audit info action alarm
ip audit attack action alarm
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) tcp interface www SERVER_IP www netmask XXX.XXX.XXX.XXX 0 0
static (inside,outside) tcp interface smtp SERVER_IP smtp netmask XXX.XXX.XXX.XXX 0 0
static (inside,outside) tcp interface 3389 SERVER_IP 3389 netmask XXX.XXX.XXX.XXX 0 0
static (inside,outside) tcp Other_External_IP www SERVER_IP www netmask XXX.XXX.XXX.XXX 0 0
access-group 100 in interface outside
route outside 0.0.0.0 0.0.0.0 GATEWAY_IP 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 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
no http server enable
no snmp-server location
no snmp-server contact
no snmp-server community public
no snmp-server enable traps
floodguard enable
telnet timeout 5
ssh timeout 5
console timeout 0
terminal width 80
———-COPY EVERYTHING ABOVE THIS LINE———-
Log into your Cisco Pix with the console cable

Copy and past your edited configuration into your terminal window.

As long as your information is correct, this will get your device up and running with basic settings.
This information is provided “AS IS” with no warranties expressed or implied.

Leave a Reply

Your email address will not be published. Required fields are marked *