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!

PIX 501 No Internet 1

Status
Not open for further replies.

jfjpcman1

Technical User
Oct 13, 2005
8
US
Purchased PIX 501 about 30-45 days ago and used GUI to set it up and it worked fine, one thing was that it seem to take from 10 to 30 minutes for it to connect for Internet access, I set it up at one place and took it to another and same problem.

About a week ago I turned it off and back on and no connection to the Internet. Then any settings that I did with GUI would not take, so I have used terminal to get in and have been able to change IP address and have saved it to memory.

I can ping to inside interface but not external, so I got a Linksys router to test if I was getting pass the external interface and I can ping the inside of the Linksys with no problem from the PIX, but not from a computer.

Where should I start to get route setup so computer can access outside again. I think I will leave router in mix, as most of the setups that I see involve having router outside of firewall, and I need to learn how to do this as the agency I work for has moved to Cisco equipment and the more I can learn the better.

Any help will be appreciated
 
How is the pix set up on the outside interface? Static IP? DHCP?

From a PC on the LAN you will not be able to ping the external interface of the pix, only the internal interface. This is normal.

Chris.

**********************
Chris A.C, CCNA, CCSA
**********************
 
Chris

PIX is setup with static IP on outside. I cannot ping to the Linksys router from the computer, not trying to ping to the outside of PIX
 
Config?

Chris.

**********************
Chris A.C, CCNA, CCSA
**********************
 
Chris,

Have been in the config area of the PIX looked at routes, but not sure which area I should be making the entry in. Do I need to create an access list, I thought this was done automatically?

Where to start?
 
For outbound access you do not need an access lists. You need to determine, can the pix ping it's default gateway? Can the pix ping something on the internet? Does it have a default route? Is NAT set up? Do the PC's have a default gateway?

Chris.

**********************
Chris A.C, CCNA, CCSA
**********************
 
This is the configuration from the PIX

Building configuration...
: Saved
:
PIX Version 6.3(4)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password YXmCJXoQjyJc1lez encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname JFJPix
domain-name jfjpcman.com
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 acl_out permit icmp any any
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 10.10.3.10 255.255.255.0
ip address inside 10.10.1.10 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 216.15.33.0 255.255.255.0 outside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 10.10.3.11-10.10.3.20 netmask 255.255.255.0
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
route outside 216.15.33.0 255.255.255.0 10.10.3.1 1
timeout xlate 0:05: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
http server enable
http 10.10.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 timeout 5
ssh timeout 5
console timeout 0
terminal width 80
Cryptochecksum:04c443ddbc7eeba30dc62c343306ca96
: end
[OK]


 
Chris,

On answer to question, I can ping both ends inside and outside of the Linksys router from the PIX, but not a computer, can only ping inside of PIX. Should I be able to ping Linksys router on outside of PIX?

Have not reconnected to the Internet yet, will try when I get back home and try to ping DNS servers of ISP.
 
Is the Linksys NATing connections from the Pix?

global (outside) 1 10.10.3.11-10.10.3.20 netmask 255.255.255.0
nat (inside) 1 0.0.0.0 0.0.0.0 0 0

If these are the addresses that you are NATing to then the Linksys will have to NAT that traffic again to a routable IP address. This adds another layer of complication.

Also, the Pix doesn't have a default route. You only have;

route outside 216.15.33.0 255.255.255.0 10.10.3.1 1

This only tells the router how to reach the 216.15.33.0 /24 network. So if you try to connect to something out on the internet from a PC on the LAN, the Pix won't have a route for that destination and so will drop the packets. You should have;

route outside 0.0.0.0 0.0.0.0 <ip_of_router>

Chris.



**********************
Chris A.C, CCNA, CCSA
**********************
 
Made changes, removed nat, and global and took out 216.15.33.x route and only have 0 0 <ip of PIX>

Can ping Linksys from PIX but still not from computer what am I missing?

JFJPix# show config
: Saved
: Written by enable_15 at 21:12:05.116 UTC Fri Oct 14 2005
PIX Version 6.3(4)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password YXmCJXoQjyJc1lez encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname JFJPix
domain-name jfjpcman.com
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 acl_out permit icmp any any
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 10.10.3.10 255.255.255.0
ip address inside 10.10.1.10 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 216.15.33.0 255.255.255.0 outside
pdm logging informational 100
pdm history enable
arp timeout 14400
route outside 0.0.0.0 0.0.0.0 10.10.3.1 1
timeout xlate 0:05: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
http server enable
http 10.10.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 timeout 5
ssh timeout 5
console timeout 0
terminal width 80
Cryptochecksum:704e17009e4c217b694e9d97b08ab537
 
You have an acl allowing all icmp but it's not applied to any interface. Try putting in;

access-group acl_out in interface outside

Also, does the PC have a default gateway of the Pix?

Chris.

**********************
Chris A.C, CCNA, CCSA
**********************
 
Thanks for the help, Chris, have it up and connecting. Once I got ping to answer, then I could see where it was not going. Now I need to set my VPN backup. I think I like working with the command line better than the PDM.
 
I hate the PDM. I just feel like I've got more control at the command like. Go with what feels right.

Chris.

**********************
Chris A.C, CCNA, CCSA
**********************
 
Hey Chris, Just a sidebar since it doesnt apply to the 501, the new 7.x ASDM (PDM replacement) is much nicer and actually works very well. Have you tried it yet? A favorite engineer of mine, Peter Welcher, has a good write up on it at:


And we just published a new PIX 7.0 book at Syngress that covers it in detail.

MikeS


Home of the book "Network Security Using Linux"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top