Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PIX501 configuration help

Status
Not open for further replies.

tomricejr

Programmer
May 1, 2007
2
US
Hello All, I am new to Cisco products and I've been tasked to install a PIX 501 firewall/router for our network. I have read the docs for the 501 and searched though the forums, here and others, and I still can't seem to get this thing working correctly. Could someone please review my config and let me know what I'm doing wrong? This config does not allow any access either out to the internet from the inside or from the outside in.

pix(config)# show run
: Saved
:
PIX Version 6.3(5)
interface ethernet0 auto shutdown
interface ethernet1 100full
nameif ethernet0 outside security10
nameif ethernet1 inside security15
enable password m6yQBxVZ6c4AUu46 encrypted
passwd m6yQBxVZ6c4AUu46 encrypted
hostname pix
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
names
access-list 100 permit icmp any any echo-reply
access-list 100 permit icmp any any time-exceeded
access-list 100 permit icmp any any unreachable
access-list 100 permit tcp any host 70.xxx.xxx.3 eq www
access-list 100 permit tcp any host 70.xxx.xxx.3 eq smtp
access-list 100 permit tcp any host 70.xxx.xxx.3 eq ftp
access-list 100 permit tcp any host 70.xxx.xxx.5 eq 7000
access-list 100 permit tcp any host 70.xxx.xxx.5 eq 3000
access-list 100 permit tcp any host 70.xxx.xxx.5 eq 3050
access-list 100 permit tcp any host 70.xxx.xxx.5 eq 69
access-list 100 permit tcp any host 70.xxx.xxx.3 eq pop3
access-list 100 permit tcp any host 70.xxx.xxx.5 eq 12000
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 70.xxx.xxx.2 255.255.255.0
ip address inside 192.168.1.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 70.xxx.xxx.50-70.xxx.xxx.125
global (outside) 1 interface
global (outside) 1 70.xxx.xxx.126
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) 70.xxx.xxx.3 192.168.1.3 netmask 255.255.255.255 0 0
static (inside,outside) 70.xxx.xxx.5 192.168.1.5 netmask 255.255.255.255 0 0
access-group 100 in interface outside
route outside 0.0.0.0 0.0.0.0 70.xxx.xxx.1 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 192.168.1.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
telnet 192.168.1.0 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd address 192.168.1.130-192.168.1.250 inside
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd enable inside
terminal width 80
Cryptochecksum:5a41ddee0ccd4ae19fd6972125d16849
: end

Any and all help mwould be greatly appreciated.
 
Hello
You should start with a simple config to get connectivity and then work your way up.
First copy your present config to notepad and save it.Then kill the access-list "access-group 100 in interface outside"
Use only one global statement,this will do for the connection test "global (outside) 1 interface"
Turn on logging and make sure your interfaces are up.
let us know how it goes.Good luck for now.
Regards
 
tomrice,
A few things here...It would definitely be helpful to look through some config guides, but some pointers on this one.

1) Per the config, the outside interface is in a shutdown state, you need to do an interface ethernet0 no shut

2) None of the acl's are applied, there are configured, but not applied as can be seen by the lack of "access-group" command. With this being the case, all traffic should flow by default from the higher security interface (inside) to the lower (outside).

3)Also, remove the following statement "global (outside) 1 70.xxx.xxx.50-70.xxx.xxx.125" so that the pix uses the "global (outside) 1 interface" statement. This statement will allow the traffic from inside out to translate.

Other than that, if your default route is indeed correct, you should be in business.

-Andrae
 
is simple, just read my posts its 5-6 down, there is compleet simple seeting steps, the problem is mosty in translation you need to give right settings inthere.
 
Thanks for the help all. I read the sample you posted turalo and I was able to get the PIX up an running using with just a few simple mods.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top