Zone-based firewall – icmp reply

Zone-based firewall – icmp reply

by Cyrus Lok on Tuesday, March 23, 2010 at 4:22am
Configuration continues from the last note.

traffic will be dropped if flows between different zones, unless someone explicitly allows the traffic to pass/inspect

Create a policy map for icmp reply
policy-map type inspect pol-icmp-reply
class type inspect cls-icmp-reply
inspect
exit
class class-default
exit

For router to send icmp echo to the outside network and get reply:
create a zone pair to pair up router and outside zone

zone-pair security zp-self-out source self destination out-zone
service-policy type inspect pol-icmp-reply
exit

For outside network to be able to ping my router I need to pair up outside network with my router (self-zone)
zone-pair security zp-out-self source out-zone destination self
service-policy type inspect pol-icmp-reply
inspect
exit

Tested the policy-maps and they work.

Advertisements
This entry was posted in Security. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s