ip inspect log drop-pkt
zone security LAN
zone security INETobject-group service good_ICMP
icmp echo
icmp echo-reply
icmp parameter-problem
icmp unreachable
icmp source-quench
icmp traceroute
icmp time-exceeded
ip access-list extended zbfc_ICMP
permit object-group good_ICMP any any
class-map type inspect match-any zbfc_ICMP
match access-group name zbfc_ICMP
class-map type inspect match-any zbfc_FTP
match protocol ftp
class-map type inspect match-any zbfc_INET_IN_SELF
match protocol ssh
match protocol ntp
policy-map type inspect zbfp_INET2LAN
class zbfc_FTP
inspect
class class-default
drop
policy-map type inspect zbfp_INET2SELF
class zbfc_INET_IN_SELF
pass
class zbfc_ICMP
pass
class-map type inspect match-any zbfc_DROP_OUT
match protocol bittorrent
match protocol pptp
match protocol l2tp
!
class-map type inspect match-any zbfc_INSPECT_OUT
match protocol ftp
match protocol tcp
match protocol udp
match protocol icmp
policy-map type inspect zbfp_LAN2INET
class zbfc_DROP_OUT
drop log
class zbfc_INSPECT_OUT
inspect
class class-default
pass
zone-pair security zp_INET2LAN source INET destination LAN
service-policy type inspect zbfp_INET2LAN
zone-pair security zp_INET2SELF source INET destination self
service-policy type inspect zbfp_INET2SELF
zone-pair security zp_LAN2INET source LAN destination INET
service-policy type inspect zbfp_LAN2INET
interface Vlan1
ip nat inside
zone-member security LAN
interface Dial1
ip nat outside
zone-member security INET
ip nat inside static tcp 10.ftp.srv.ip 21 interface Dial1 21