Em có làm bài lab mô hình đơn giản
R()-------PIX-------PC
Nhưng ko làm sao ping thông từ inside ra outside được !
Xin thầy "chỉ điểm" giúp em !
Cám ơn thầy !
PIX Version 7.2(2)
!
hostname Pix
enable password 8Ry2YjIyt7RRXU24 encrypted
names
!
interface Ethernet0
nameif outside
security-level 0
ip address 203.162.1.2 255.255.255.0
!
interface Ethernet1
nameif inside
security-level 100
ip address 172.16.1.1 255.255.255.0
!
interface Ethernet2
shutdown
no nameif
no security-level
no ip address
!
interface Ethernet3
shutdown
no nameif
no security-level
no ip address
!
interface Ethernet4
shutdown
no nameif
no security-level
no ip address
!
passwd 2KFQnbNIdI.2KYOU encrypted
ftp mode passive
access-list outbound extended permit icmp host 172.16.1.2 203.162.1.0 255.255.25 5.0
access-list inbound extended permit icmp any any
pager lines 24
mtu outside 1500
mtu inside 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
global (outside) 1 203.162.1.10-203.162.1.254 netmask 255.255.255.0
nat (inside) 1 0.0.0.0 172.16.1.2
static (inside,outside) 203.162.1.1 172.16.1.2 netmask 255.255.255.255
access-group inbound in interface outside
access-group outbound out interface inside
route outside 0.0.0.0 0.0.0.0 203.162.1.1 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout uauth 0:05:00 absolute
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
telnet timeout 5
ssh timeout 5
console timeout 0
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect netbios
inspect rsh
inspect rtsp
inspect skinny
inspect esmtp
inspect sqlnet
inspect sunrpc
inspect tftp
inspect sip
inspect xdmcp
!
service-policy global_policy global
prompt hostname context
Cryptochecksum:9a6f92dca434d71896d090f2dda6a7cc
: end
R()-------PIX-------PC
Nhưng ko làm sao ping thông từ inside ra outside được !
Xin thầy "chỉ điểm" giúp em !
Cám ơn thầy !
PIX Version 7.2(2)
!
hostname Pix
enable password 8Ry2YjIyt7RRXU24 encrypted
names
!
interface Ethernet0
nameif outside
security-level 0
ip address 203.162.1.2 255.255.255.0
!
interface Ethernet1
nameif inside
security-level 100
ip address 172.16.1.1 255.255.255.0
!
interface Ethernet2
shutdown
no nameif
no security-level
no ip address
!
interface Ethernet3
shutdown
no nameif
no security-level
no ip address
!
interface Ethernet4
shutdown
no nameif
no security-level
no ip address
!
passwd 2KFQnbNIdI.2KYOU encrypted
ftp mode passive
access-list outbound extended permit icmp host 172.16.1.2 203.162.1.0 255.255.25 5.0
access-list inbound extended permit icmp any any
pager lines 24
mtu outside 1500
mtu inside 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
global (outside) 1 203.162.1.10-203.162.1.254 netmask 255.255.255.0
nat (inside) 1 0.0.0.0 172.16.1.2
static (inside,outside) 203.162.1.1 172.16.1.2 netmask 255.255.255.255
access-group inbound in interface outside
access-group outbound out interface inside
route outside 0.0.0.0 0.0.0.0 203.162.1.1 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout uauth 0:05:00 absolute
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
telnet timeout 5
ssh timeout 5
console timeout 0
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect netbios
inspect rsh
inspect rtsp
inspect skinny
inspect esmtp
inspect sqlnet
inspect sunrpc
inspect tftp
inspect sip
inspect xdmcp
!
service-policy global_policy global
prompt hostname context
Cryptochecksum:9a6f92dca434d71896d090f2dda6a7cc
: end
Comment