Link to home
Start Free TrialLog in
Avatar of alkhaleej
alkhaleej

asked on

PIX 525 how to enable inside computers to ping internet ips and tracert

Dear Experts

I have a pix 525, i need  the inside users to ping & tracert the outside network . With following configuration its not working, I tried ICMP enabling but no result
access-list icmp permit icmp any any echo-reply
access-group icmp in interface outside

Here is my configuration

TEST(config)# sho run
: Saved
:
PIX Version 6.3(3)
interface ethernet0 100full
interface ethernet1 100full
interface gb-ethernet0 1000auto
interface gb-ethernet1 1000auto shutdown
nameif ethernet0 outside security0
nameif ethernet1 inside security100
nameif gb-ethernet0 dmz security10
nameif gb-ethernet1 intf3 security6
enable password UNbpkCo92r/eQuc/ encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname TEST
domain-name TEST
clock timezone AST 3
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 102 permit ip 10.0.0.0 255.255.248.0 10.1.2.0 255.255.255.0
access-list 101 permit ip 10.0.0.0 255.255.248.0 10.1.2.0 255.255.255.0
access-list outside permit tcp any host 212.x.x.156 eq smtp
access-list dmz permit tcp host 193.168.0.5 eq smtp any
pager lines 24
logging timestamp
logging trap warnings
logging host inside 10.0.0.2
mtu outside 1500
mtu inside 1500
mtu dmz 1500
mtu intf3 1500
ip address outside 212.x.x.146 255.255.255.240
ip address inside 10.0.0.3 255.255.248.0
ip address dmz 193.168.0.1 255.255.255.0
no ip address intf3
ip audit info action alarm
ip audit attack action alarm
ip local pool ippool 10.1.2.0-10.1.2.25
no failover
failover timeout 0:00:00
failover poll 15
no failover ip address outside
no failover ip address inside
no failover ip address dmz
no failover ip address intf3
pdm location 10.0.0.2 255.255.255.255 inside
pdm location 10.0.0.4 255.255.255.255 inside
pdm location 10.0.0.0 255.0.0.0 inside
pdm location 10.1.2.0 255.255.255.0 outside
pdm location 10.0.0.1 255.255.255.255 inside
pdm location 10.0.0.5 255.255.255.255 inside
pdm location 10.0.0.7 255.255.255.255 inside
pdm location 193.168.0.5 255.255.255.255 dmz
pdm location 10.0.0.0 255.255.255.240 inside
pdm history enable
arp timeout 14400
global (outside) 2 212.12.181.152 netmask 255.255.255.240
nat (inside) 0 access-list 101
nat (inside) 2 10.0.0.0 255.255.255.240 0 0
nat (inside) 1 10.0.0.0 255.0.0.0 0 0
static (inside,outside) 212.x.x.151 10.0.0.2 netmask 255.255.255.255 0 0
static (dmz,outside) 212. x.x..156 193.168.0.5 netmask 255.255.255.255 0 0
access-group dmz in interface dmz
route outside 0.0.0.0 0.0.0.0 212.12.181.145 1
route inside 10.0.0.0 255.0.0.0 10.0.0.10 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 RADIUS protocol radius
aaa-server LOCAL protocol local
http server enable
http 10.0.0.2 255.255.255.255 inside
http 10.0.0.4 255.255.255.255 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set myset esp-des esp-md5-hmac
crypto dynamic-map dynmap 10 set transform-set myset
crypto map mymap 10 ipsec-isakmp dynamic dynmap
crypto map mymap interface outside
isakmp enable outside
isakmp identity address
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption des
isakmp policy 10 hash md5
isakmp policy 10 group 2
isakmp policy 10 lifetime 86400
vpngroup khaleej idle-time 1800
vpn3000address-pool ippool
vpn3000dns-server 10.0.0.26
vpn3000default-domain test
vpn3000split-tunnel 102
vpn3000idle-time 1800
vpn3000password ********
vpn3001address-pool ippool
vpn3001default-domain test
vpn3001split-tunnel 102
vpn3001idle-time 1800
vpn3001password ********
telnet 10.0.0.2 255.255.255.255 inside
telnet 10.0.0.4 255.255.255.255 inside
telnet 10.0.0.1 255.255.255.255 inside
telnet 10.0.0.5 255.255.255.255 inside
telnet timeout 5
ssh timeout 5
console timeout 20
terminal width 80
banner exec Unauthorized access is probhited
banner exec Violators will be prosecuted
banner login Violators will be prosecuted
banner motd Violators will be prosecuted
Cryptochecksum:b9d9823b368c7528cecc24b88112d4b9
: end
TEST(config)#


cheers


Avatar of InteraX
InteraX
Flag of United Kingdom of Great Britain and Northern Ireland image

Hi alkhaleej,

You don't appear to have applied any access-list to the outside interface. You will need to allow ICMP echo-reply back in the outside interface using an ACL.

Good Luck,

Chris
alkhaleej,

Sorry, you say that you tried the access-list and access-group lines above but these didnt' work. Did you take them back out of the config?
Dear Chris

I did take out the access list out of my config & now do tell me what should i do
You have only

access-group dmz in interface dmz

and nothing on outside interface ! So add something like :

access-list ping_acl permit ip any any
access-list ping_acl permit icmp any any
......
access-group ping_acl in interface outside


SOLUTION
Avatar of Les Moore
Les Moore
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
gnegrota

I would be very careful about applying that access-list  and access-group to the outside interface. You are basically allowing all external IP and ICMP traffic into the interface.

What yasirirfan originally tried should allow ping replies through correctly should it not?

access-list icmp permit icmp any any echo-reply
access-group icmp in interface outside

Chris
Right, lrmoore ! More than, in general, no ICMP should be allowed but for testing purpose, this could be fully or partially enabled .
 
SOLUTION
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
Avatar of alkhaleej
alkhaleej

ASKER

Dear lrmoore & yasir thanks a lot its pinging but only the ips which comes under nat or pat but other pcs which got an ip from our DHCP are not working, we have ISA 2004 and in my inside router i have directed the outside traffic to PIX and as well as ISA with following command

ip route 0.0.0.0 0.0.0.0 10.0.0.3 (inside pix ip)
ip route 0.0.0.0 0.0.0.0 10.0.1.108 (inside ISA ip)

What is the best solution to make sure all the inside users can ping the outside network.




If you have machines that are not set to NAT or PAT, then the packets sent by them, or the return packets will be filtered out by the internet routers as anything with a 'private' IP address as the destination will be dropped by the core internet routers.

TBH, all hosts on the inside of you network should be set to NAT or PAT to hide the internal structure of you network as a basic security measure.
ASKER CERTIFIED SOLUTION
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