?
Solved

ICMP and TCP on Pix 515e

Posted on 2006-05-30
3
Medium Priority
?
1,940 Views
Last Modified: 2008-03-10
What are the commands to allow all outbound icmp and tcp traffic regardless of port #?
0
Comment
Question by:quahitis
  • 2
3 Comments
 
LVL 20

Expert Comment

by:calvinetter
ID: 16793153
 Check your config, & if there's an ACL (access list) applied to the inside interface (ie, "access-group <some_ACL> in interface inside"), then substitute that name for <ACL_name> below.

access-list <ACL_name> permit tcp any any
access-list <ACL_name> permit icmp any any

By default PIX allows all outbound traffic from the 'inside' to the 'outside' interfaces, regardless of protocol, so unless you have a serious need to filter outbound traffic, just remove the ACL from the inside interface, eg:
  no access-group <ACL_name> in interface inside

cheers
0
 

Author Comment

by:quahitis
ID: 16793352
Hmm. I tried the 'no access-group inside_access_in in interface inside' but that didn't seem to do anything. I suppose I'm confused.

Below is our configuration. What's wrong with it?

Building configuration...
: Saved
:
PIX Version 6.3(5)
interface ethernet0 auto
interface ethernet1 auto
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password xxx encrypted
passwd xxx encrypted
hostname xxx
domain-name xxx
clock timezone CST -6
clock summer-time CDT recurring
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
no fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
names
name xxx.xxx.xxx.xxx FakeName
access-list inbound permit tcp any host xxx.xxx.xxx.xxx eq www
access-list inbound permit tcp FakeName 255.255.255.248 host xxx.xxx.xxx.xxx eq smtp
access-list inbound permit tcp any host xxx.xxx.xxx.xxx eq 2443
access-list inbound permit tcp any host xxx.xxx.xxx.xxx eq 1443
access-list inbound permit tcp any host xxx.xxx.xxx.xxx eq 4080
access-list inbound permit tcp any host xxx.xxx.xxx.xxx eq 83
access-list inbound permit udp any host xxx.xxx.xxx.xxx eq ntp
access-list inbound permit tcp any host xxx.xxx.xxx.xxx eq https
access-list inside_outbound_nat0_acl permit ip any 192.168.0.224 255.255.255.224
access-list inside_access_in permit tcp host 192.168.0.2 any eq smtp
access-list inside_access_in deny tcp 192.168.0.0 255.255.255.0 any eq smtp
access-list inside_access_in permit ip any any
access-list inside_access_in permit icmp any any
pager lines 24
logging on
logging buffered notifications
mtu outside 1500
mtu inside 1500
ip address outside xxx.xxx.xxx.xxx 255.255.255.252
ip address inside 192.168.0.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool vpnpool1 192.168.0.231-192.168.0.254
pdm location 192.168.0.2 255.255.255.255 inside
pdm location 192.168.0.3 255.255.255.255 inside
pdm location 192.168.0.164 255.255.255.255 inside
pdm location 192.168.0.180 255.255.255.255 inside
pdm location xxx.xxx.xxx.xxx 255.255.255.255 outside
pdm location 192.168.0.224 255.255.255.224 outside
pdm location 192.168.1.0 255.255.255.224 outside
pdm location FakeName 255.255.255.248 outside
pdm location xxx.xxx.xxx.xxx 255.255.255.252 outside
pdm location xxx.xxx.xxx.xxx 255.255.255.255 outside
pdm logging notifications 100
pdm history enable
arp timeout 14400
global (outside) 10 interface
nat (inside) 0 access-list inside_outbound_nat0_acl
nat (inside) 10 0.0.0.0 0.0.0.0 0 0
static (inside,outside) tcp xxx.xxx.xxx.xxx www 192.168.0.180 www netmask 255.255.255.255 0 0
static (inside,outside) tcp xxx.xxx.xxx.xxx https 192.168.0.3 https netmask 255.255.255.255 0 0
static (inside,outside) tcp xxx.xxx.xxx.xxx smtp 192.168.0.2 smtp netmask 255.255.255.255 0 0
static (inside,outside) tcp xxx.xxx.xxx.xxx 2443 192.168.0.2 2443 netmask 255.255.255.255 0 0
static (inside,outside) tcp xxx.xxx.xxx.xxx 1443 192.168.0.164 1443 netmask 255.255.255.255 0 0
static (inside,outside) tcp xxx.xxx.xxx.xxx 83 192.168.0.2 83 netmask 255.255.255.255 0 0
static (inside,outside) tcp xxx.xxx.xxx.xxx 4080 192.168.0.164 4080 netmask 255.255.255.255 0 0
static (inside,outside) udp xxx.xxx.xxx.xxx ntp 192.168.0.2 ntp netmask 255.255.255.255 0 0
access-group inbound in interface outside
access-group inside_access_in in interface inside
route outside 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx 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
ntp server 192.43.244.18 source outside prefer
http server enable
http xxx.xxx.xxx.xxx 255.255.255.255 outside
http 192.168.0.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
sysopt connection permit-pptp
sysopt noproxyarp inside
telnet timeout 5
ssh timeout 5
console timeout 0
vpdn group PPTP-VPDN-GROUP accept dialin pptp
vpdn group PPTP-VPDN-GROUP ppp authentication mschap
vpdn group PPTP-VPDN-GROUP ppp encryption mppe 40
vpdn group PPTP-VPDN-GROUP client configuration address local vpnpool1
vpdn group PPTP-VPDN-GROUP client configuration dns 192.168.0.2
vpdn group PPTP-VPDN-GROUP pptp echo 60
vpdn group PPTP-VPDN-GROUP client authentication local
vpdn username xxx password *********
vpdn username xxx password *********
vpdn username xxx password *********
vpdn username xxx password *********
vpdn username xxx password *********
vpdn enable outside
terminal width 80
Cryptochecksum:xxx
: end
[OK]

0
 
LVL 20

Accepted Solution

by:
calvinetter earned 2000 total points
ID: 16793520
 Were you in config mode when you tried that command?  eg:
pix(config)#no access-group inside_access_in in interface inside

  You'll also need to allow the ICMP replies back in; you can do this to allow all ICMP:
access-list inbound permit icmp any any
access-group inbound in interface outside   <- re-apply the ACL to ensure changes take effect

  Either remove the ACL from the 'inside' interface as mentioned above, or do the following:
access-list inside_access_in permit tcp any any
access-group inside_access_in in interface inside  <- re-apply the ACL to ensure changes take effect

cheers
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There’s a movement in Information Technology (IT), and while it’s hard to define, it is gaining momentum. Some call it “stream-lined IT;” others call it “thin-model IT.”
This article is in regards to the Cisco QSFP-4SFP10G-CU1M cables, which are designed to uplink/downlink 40GB ports to 10GB SFP ports. I recently experienced this and found very little configuration documentation on how these are supposed to be confi…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question