16.03.2014 Views

Policy Framework Configuration Guide - Juniper Networks

Policy Framework Configuration Guide - Juniper Networks

Policy Framework Configuration Guide - Juniper Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 9: Firewall Filter <strong>Configuration</strong><br />

reject;<br />

}<br />

}<br />

term group-2 {<br />

then {<br />

count if-group-counter2;<br />

log;<br />

accept;<br />

}<br />

}<br />

}<br />

}<br />

Assign one or more interfaces to the interface group referenced in the filter:<br />

[edit interfaces]<br />

fxp0 {<br />

unit 0 {<br />

family inet {<br />

filter {<br />

group 1;<br />

}<br />

address 192.168.5.38/24;<br />

}<br />

}<br />

}<br />

Apply the filter that contains an interface group:<br />

Overview of Firewall Filter Lists<br />

[edit interfaces]<br />

lo0 {<br />

unit 0 {<br />

family inet {<br />

filter {<br />

input if-group;<br />

group 1;<br />

}<br />

address 10.0.0.1/32;<br />

address 192.168.77.1/32;<br />

}<br />

}<br />

}<br />

Firewall filter lists effectively enable you to chain multiple firewall filters and apply them<br />

to a single interface. Typically, you apply a single firewall filter to an interface in the input<br />

or output direction or both. The ability to chain multiple firewall filters is useful when you<br />

have a router configured with many, even hundreds of interfaces, and you want to apply<br />

a unique filter to each interface but also apply a common set of terms to many or most<br />

of the interfaces on the router.<br />

The most straightforward way to chain multiple firewall filter is to configure multiple,<br />

separate firewall filters. In such a scenario, you can configure multiple filters that are<br />

each unique to one interface and one or more separate filters that include the common<br />

Copyright © 2010, <strong>Juniper</strong> <strong>Networks</strong>, Inc.<br />

239

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!