Eventhough, i use one to one nat from public ip address to private ip address (DMZ or inside),
static (inside,outside) xxx.xxx.xxx.165 private_IP.112 netmask 255.255.255.255 0 0 and access list as
access-list outside_access_in permit icmp any any
i could not ping xxx.xxx.xxx.165
but i can ping another xxx.xxx.xxx.162 see the following config:
Building configuration...
: Saved
:
PIX Version 6.1(1)
nameif ethernet0 outside security0
nameif ethernet1 inside security100
nameif ethernet2 intf2 security90
nameif ethernet3 intf3 security15
nameif ethernet4 intf4 security20
nameif ethernet5 intf5 security5
enable password Yfl7PANQa5rTpliC encrypted
passwd Yfl7PANQa5rTpliC encrypted
hostname pixfirewall
domain-name xxxxx.com
fixup protocol ftp 21
fixup protocol http 80
fixup protocol h323 1720
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol sip 5060
fixup protocol skinny 2000
fixup protocol http 16372
names
name 10.xxx.xxx.213 xxxxFTP3
name 10.xxx.xxx.212 xxxxEXCH3
name 10.xxx.xxx.163 xxxxFTP2
name 10.xxx.xxx.162 xxxxEXCH2
name private_IP.237 xxxxxxxxx4
name 64.12.163.0 ICQservers
access-list inside_access_in permit tcp host private_IP.112 any
access-list inside_access_in permit tcp host private_IP.224 any
access-list inside_access_in permit icmp any any
access-list inside_access_in deny ip any host ICQservers
access-list inside_access_in permit ip any any
access-list outside_access_in permit icmp any any
access-list outside_access_in permit tcp any host xxx.xxx.xxx.215 eq 522
access-list outside_access_in permit tcp any host xxx.xxx.xxx.215 eq 389
access-list outside_access_in permit tcp any host xxx.xxx.xxx.215 eq 1503
access-list outside_access_in permit tcp any host xxx.xxx.xxx.215 eq h323
access-list outside_access_in permit tcp any host xxx.xxx.xxx.215 eq 1731
access-list outside_access_in permit udp any host xxx.xxx.xxx.215 range 1024 65535
access-list outside_access_in permit tcp any host xxx.xxx.xxx.162 eq smtp
access-list outside_access_in permit tcp any host xxx.xxx.xxx.212 eq smtp
access-list outside_access_in permit tcp any host xxx.xxx.xxx.162 eq www
access-list outside_access_in permit tcp any host xxx.xxx.xxx.212 eq www
access-list outside_access_in permit tcp any host xxx.xxx.xxx.162 eq 443
access-list outside_access_in permit tcp any host xxx.xxx.xxx.162 eq 16372
access-list outside_access_in permit tcp any host xxx.xxx.xxx.212 eq 443
access-list outside_access_in permit tcp any host xxx.xxx.xxx.212 eq pop3
access-list outside_access_in permit tcp any host xxx.xxx.xxx.162 eq pop3
access-list outside_access_in permit tcp any host xxx.xxx.xxx.163 eq ftp
access-list outside_access_in permit tcp any host xxx.xxx.xxx.213 eq ftp
access-list outside_access_in permit tcp any eq ftp-data host xxx.xxx.xxx.163 eq ftp-data
access-list outside_access_in permit tcp any host xxx.xxx.xxx.162 eq 143
access-list outside_access_in permit tcp any host xxx.xxx.xxx.212 eq 143
access-list outside_access_in permit tcp any host xxx.xxx.xxx.212 eq 16372
access-list outside_access_in permit gre any host xxx.xxx.xxx.215
access-list outside_access_in permit tcp any host xxx.xxx.xxx.215 eq 1723
access-list intf4_access_in deny ip host xxxxFTP2 host ICQservers
access-list intf4_access_in permit ip any any
pager lines 24
logging on
logging timestamp
logging console debugging
logging buffered debugging
logging trap warnings
logging host inside private_IP.112
interface ethernet0 auto
interface ethernet1 auto
interface ethernet2 auto
interface ethernet3 auto
interface ethernet4 auto
interface ethernet5 auto
icmp permit any inside
mtu outside 1500
mtu inside 1500
mtu intf2 1500
mtu intf3 1500
mtu intf4 1500
mtu intf5 1500
ip address outside xxx.xxx.xxx.221 255.255.255.240
ip address inside 10.10.10.1 255.255.255.252
ip address intf4 10.xxx.xxx.1 255.255.255.0
ip verify reverse-path interface outside
ip verify reverse-path interface intf5
ip audit info action alarm
ip audit attack action alarm
no failover
failover timeout 0:00:00
failover poll 15
failover ip address outside 0.0.0.0
failover ip address inside 0.0.0.0
failover ip address intf2 0.0.0.0
failover ip address intf3 0.0.0.0
failover ip address intf4 0.0.0.0
failover ip address intf5 0.0.0.0
pdm location 10.10.10.2 255.255.255.255 inside
pdm location 10.0.1.0 255.255.255.0 inside
pdm location 10.10.10.4 255.255.255.252 inside
pdm location private_IP.0 255.255.255.0 inside
pdm location private_IP.112 255.255.255.255 inside
pdm location private_IP.205 255.255.255.255 inside
pdm location 10.0.1.231 255.255.255.255 inside
pdm location private_IP.197 255.255.255.255 inside
pdm location xxxxEXCH3 255.255.255.255 intf4
pdm location xxxxFTP3 255.255.255.255 intf4
pdm location 10.xxx.xxx.0 255.255.255.0 intf4
pdm location private_IP.206 255.255.255.255 inside
pdm location xxxxEXCH2 255.255.255.255 intf4
pdm location xxxxFTP2 255.255.255.255 intf4
pdm location 10.xxx.xxx.164 255.255.255.255 intf4
pdm location xxxxxxxxx4 255.255.255.255 inside
pdm location private_IP.224 255.255.255.255 inside
pdm location 10.xxx.xxx.166 255.255.255.255 intf4
pdm location 10.xxx.xxx.167 255.255.255.255 intf4
pdm location private_IP.136 255.255.255.255 inside
pdm location private_IP.157 255.255.255.255 inside
pdm location ICQservers 255.255.255.255 outside
pdm location 10.0.1.202 255.255.255.255 inside
pdm location private_IP.240 255.255.255.255 inside
pdm logging debugging 100
pdm history enable
arp timeout 14400
global (outside) 6 interface
nat (inside) 6 10.10.10.0 255.255.255.252 0 0
nat (inside) 6 10.10.10.4 255.255.255.252 0 0
nat (inside) 6 10.0.1.0 255.255.255.0 0 0
nat (inside) 6 private_IP.0 255.255.255.0 0 0
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
nat (intf4) 6 10.xxx.xxx.166 255.255.255.255 0 0
nat (intf4) 6 10.xxx.xxx.167 255.255.255.255 0 0
static (inside,intf4) 10.10.10.0 10.10.10.0 netmask 255.255.255.252 0 0
static (inside,intf4) private_IP.0 private_IP.0 netmask 255.255.255.0 0 0
static (inside,intf4) 10.10.10.4 10.10.10.4 netmask 255.255.255.252 0 0
static (inside,intf4) 10.0.1.0 10.0.1.0 netmask 255.255.255.0 0 0
static (intf4,outside) xxx.xxx.xxx.212 xxxxEXCH3 netmask 255.255.255.255 0 0
static (intf4,outside) xxx.xxx.xxx.213 xxxxFTP3 netmask 255.255.255.255 0 0
static (intf4,outside) xxx.xxx.xxx.162 xxxxEXCH2 netmask 255.255.255.255 0 0
static (intf4,outside) xxx.xxx.xxx.163 xxxxFTP2 netmask 255.255.255.255 0 0
static (inside,outside) xxx.xxx.xxx.216 xxxxxxxxx4 netmask 255.255.255.255 0 0
static (intf4,outside) xxx.xxx.xxx.215 10.xxx.xxx.164 netmask 255.255.255.255 0 0
static (inside,outside) xxx.xxx.xxx.165 private_IP.112 netmask 255.255.255.255 0 0
access-group outside_access_in in interface outside
access-group inside_access_in in interface inside
access-group intf4_access_in in interface intf4
rip inside default version 2
route outside 0.0.0.0 0.0.0.0 xxx.xxx.xxx.220 1
route inside 10.0.1.0 255.255.255.0 10.10.10.2 1
route inside 10.10.10.4 255.255.255.252 10.10.10.2 1
route inside private_IP.0 255.255.255.0 10.10.10.2 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h323 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
http server enable
http 10.10.10.2 255.255.255.255 inside
http private_IP.157 255.255.255.255 inside
http private_IP.112 255.255.255.255 inside
http private_IP.206 255.255.255.255 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
tftp-server inside private_IP.112 xxxxxpix.cfg
floodguard enable
sysopt noproxyarp inside
sysopt noproxyarp intf2
sysopt noproxyarp intf3
sysopt noproxyarp intf4
no sysopt route dnat
telnet private_IP.112 255.255.255.255 inside
telnet timeout 5
ssh timeout 10
terminal width 80
Cryptochecksum:096651cf0373d70785628c26c0e0eeec
: end
Am i missing anything?
Please help!
regards,
naingtan
static (inside,outside) xxx.xxx.xxx.165 private_IP.112 netmask 255.255.255.255 0 0 and access list as
access-list outside_access_in permit icmp any any
i could not ping xxx.xxx.xxx.165
but i can ping another xxx.xxx.xxx.162 see the following config:
Building configuration...
: Saved
:
PIX Version 6.1(1)
nameif ethernet0 outside security0
nameif ethernet1 inside security100
nameif ethernet2 intf2 security90
nameif ethernet3 intf3 security15
nameif ethernet4 intf4 security20
nameif ethernet5 intf5 security5
enable password Yfl7PANQa5rTpliC encrypted
passwd Yfl7PANQa5rTpliC encrypted
hostname pixfirewall
domain-name xxxxx.com
fixup protocol ftp 21
fixup protocol http 80
fixup protocol h323 1720
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol sip 5060
fixup protocol skinny 2000
fixup protocol http 16372
names
name 10.xxx.xxx.213 xxxxFTP3
name 10.xxx.xxx.212 xxxxEXCH3
name 10.xxx.xxx.163 xxxxFTP2
name 10.xxx.xxx.162 xxxxEXCH2
name private_IP.237 xxxxxxxxx4
name 64.12.163.0 ICQservers
access-list inside_access_in permit tcp host private_IP.112 any
access-list inside_access_in permit tcp host private_IP.224 any
access-list inside_access_in permit icmp any any
access-list inside_access_in deny ip any host ICQservers
access-list inside_access_in permit ip any any
access-list outside_access_in permit icmp any any
access-list outside_access_in permit tcp any host xxx.xxx.xxx.215 eq 522
access-list outside_access_in permit tcp any host xxx.xxx.xxx.215 eq 389
access-list outside_access_in permit tcp any host xxx.xxx.xxx.215 eq 1503
access-list outside_access_in permit tcp any host xxx.xxx.xxx.215 eq h323
access-list outside_access_in permit tcp any host xxx.xxx.xxx.215 eq 1731
access-list outside_access_in permit udp any host xxx.xxx.xxx.215 range 1024 65535
access-list outside_access_in permit tcp any host xxx.xxx.xxx.162 eq smtp
access-list outside_access_in permit tcp any host xxx.xxx.xxx.212 eq smtp
access-list outside_access_in permit tcp any host xxx.xxx.xxx.162 eq www
access-list outside_access_in permit tcp any host xxx.xxx.xxx.212 eq www
access-list outside_access_in permit tcp any host xxx.xxx.xxx.162 eq 443
access-list outside_access_in permit tcp any host xxx.xxx.xxx.162 eq 16372
access-list outside_access_in permit tcp any host xxx.xxx.xxx.212 eq 443
access-list outside_access_in permit tcp any host xxx.xxx.xxx.212 eq pop3
access-list outside_access_in permit tcp any host xxx.xxx.xxx.162 eq pop3
access-list outside_access_in permit tcp any host xxx.xxx.xxx.163 eq ftp
access-list outside_access_in permit tcp any host xxx.xxx.xxx.213 eq ftp
access-list outside_access_in permit tcp any eq ftp-data host xxx.xxx.xxx.163 eq ftp-data
access-list outside_access_in permit tcp any host xxx.xxx.xxx.162 eq 143
access-list outside_access_in permit tcp any host xxx.xxx.xxx.212 eq 143
access-list outside_access_in permit tcp any host xxx.xxx.xxx.212 eq 16372
access-list outside_access_in permit gre any host xxx.xxx.xxx.215
access-list outside_access_in permit tcp any host xxx.xxx.xxx.215 eq 1723
access-list intf4_access_in deny ip host xxxxFTP2 host ICQservers
access-list intf4_access_in permit ip any any
pager lines 24
logging on
logging timestamp
logging console debugging
logging buffered debugging
logging trap warnings
logging host inside private_IP.112
interface ethernet0 auto
interface ethernet1 auto
interface ethernet2 auto
interface ethernet3 auto
interface ethernet4 auto
interface ethernet5 auto
icmp permit any inside
mtu outside 1500
mtu inside 1500
mtu intf2 1500
mtu intf3 1500
mtu intf4 1500
mtu intf5 1500
ip address outside xxx.xxx.xxx.221 255.255.255.240
ip address inside 10.10.10.1 255.255.255.252
ip address intf4 10.xxx.xxx.1 255.255.255.0
ip verify reverse-path interface outside
ip verify reverse-path interface intf5
ip audit info action alarm
ip audit attack action alarm
no failover
failover timeout 0:00:00
failover poll 15
failover ip address outside 0.0.0.0
failover ip address inside 0.0.0.0
failover ip address intf2 0.0.0.0
failover ip address intf3 0.0.0.0
failover ip address intf4 0.0.0.0
failover ip address intf5 0.0.0.0
pdm location 10.10.10.2 255.255.255.255 inside
pdm location 10.0.1.0 255.255.255.0 inside
pdm location 10.10.10.4 255.255.255.252 inside
pdm location private_IP.0 255.255.255.0 inside
pdm location private_IP.112 255.255.255.255 inside
pdm location private_IP.205 255.255.255.255 inside
pdm location 10.0.1.231 255.255.255.255 inside
pdm location private_IP.197 255.255.255.255 inside
pdm location xxxxEXCH3 255.255.255.255 intf4
pdm location xxxxFTP3 255.255.255.255 intf4
pdm location 10.xxx.xxx.0 255.255.255.0 intf4
pdm location private_IP.206 255.255.255.255 inside
pdm location xxxxEXCH2 255.255.255.255 intf4
pdm location xxxxFTP2 255.255.255.255 intf4
pdm location 10.xxx.xxx.164 255.255.255.255 intf4
pdm location xxxxxxxxx4 255.255.255.255 inside
pdm location private_IP.224 255.255.255.255 inside
pdm location 10.xxx.xxx.166 255.255.255.255 intf4
pdm location 10.xxx.xxx.167 255.255.255.255 intf4
pdm location private_IP.136 255.255.255.255 inside
pdm location private_IP.157 255.255.255.255 inside
pdm location ICQservers 255.255.255.255 outside
pdm location 10.0.1.202 255.255.255.255 inside
pdm location private_IP.240 255.255.255.255 inside
pdm logging debugging 100
pdm history enable
arp timeout 14400
global (outside) 6 interface
nat (inside) 6 10.10.10.0 255.255.255.252 0 0
nat (inside) 6 10.10.10.4 255.255.255.252 0 0
nat (inside) 6 10.0.1.0 255.255.255.0 0 0
nat (inside) 6 private_IP.0 255.255.255.0 0 0
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
nat (intf4) 6 10.xxx.xxx.166 255.255.255.255 0 0
nat (intf4) 6 10.xxx.xxx.167 255.255.255.255 0 0
static (inside,intf4) 10.10.10.0 10.10.10.0 netmask 255.255.255.252 0 0
static (inside,intf4) private_IP.0 private_IP.0 netmask 255.255.255.0 0 0
static (inside,intf4) 10.10.10.4 10.10.10.4 netmask 255.255.255.252 0 0
static (inside,intf4) 10.0.1.0 10.0.1.0 netmask 255.255.255.0 0 0
static (intf4,outside) xxx.xxx.xxx.212 xxxxEXCH3 netmask 255.255.255.255 0 0
static (intf4,outside) xxx.xxx.xxx.213 xxxxFTP3 netmask 255.255.255.255 0 0
static (intf4,outside) xxx.xxx.xxx.162 xxxxEXCH2 netmask 255.255.255.255 0 0
static (intf4,outside) xxx.xxx.xxx.163 xxxxFTP2 netmask 255.255.255.255 0 0
static (inside,outside) xxx.xxx.xxx.216 xxxxxxxxx4 netmask 255.255.255.255 0 0
static (intf4,outside) xxx.xxx.xxx.215 10.xxx.xxx.164 netmask 255.255.255.255 0 0
static (inside,outside) xxx.xxx.xxx.165 private_IP.112 netmask 255.255.255.255 0 0
access-group outside_access_in in interface outside
access-group inside_access_in in interface inside
access-group intf4_access_in in interface intf4
rip inside default version 2
route outside 0.0.0.0 0.0.0.0 xxx.xxx.xxx.220 1
route inside 10.0.1.0 255.255.255.0 10.10.10.2 1
route inside 10.10.10.4 255.255.255.252 10.10.10.2 1
route inside private_IP.0 255.255.255.0 10.10.10.2 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h323 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
http server enable
http 10.10.10.2 255.255.255.255 inside
http private_IP.157 255.255.255.255 inside
http private_IP.112 255.255.255.255 inside
http private_IP.206 255.255.255.255 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
tftp-server inside private_IP.112 xxxxxpix.cfg
floodguard enable
sysopt noproxyarp inside
sysopt noproxyarp intf2
sysopt noproxyarp intf3
sysopt noproxyarp intf4
no sysopt route dnat
telnet private_IP.112 255.255.255.255 inside
telnet timeout 5
ssh timeout 10
terminal width 80
Cryptochecksum:096651cf0373d70785628c26c0e0eeec
: end
Am i missing anything?
Please help!
regards,
naingtan