Link to home
Start Free TrialLog in
Avatar of quahitis
quahitisFlag for United States of America

asked on

ICMP and TCP on Pix 515e

What are the commands to allow all outbound icmp and tcp traffic regardless of port #?
Avatar of calvinetter
calvinetter
Flag of United States of America image

 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
Avatar of quahitis

ASKER

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]

ASKER CERTIFIED SOLUTION
Avatar of calvinetter
calvinetter
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial