28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

then accept;<br />

}<br />

term allow-ntp {<br />

from {<br />

source-address {<br />

10.10.0.1/32;<br />

10.10.5.1/32;<br />

}<br />

port ntp;<br />

}<br />

then accept;<br />

}<br />

term allow-icmp {<br />

from {<br />

protocol icmp;<br />

icmp-type [ echo-request echo-reply unreachable time-exceeded sourcequench<br />

];<br />

}<br />

then accept;<br />

}<br />

term allow-snmp-from-nms {<br />

from {<br />

source-address {<br />

10.0.0.1/32;<br />

10.0.5.1/32;<br />

}<br />

protocol udp;<br />

destination-port snmp;<br />

}<br />

then accept;<br />

}<br />

term allow-nothing-else {<br />

then {<br />

count reject-counter;<br />

log;<br />

syslog;<br />

reject;<br />

}<br />

}<br />

}<br />

[edit interfaces]<br />

lo0 {<br />

unit 0 {<br />

family inet {<br />

filter input protect-RE;<br />

address 192.168.16.1<br />

}<br />

}<br />

}<br />

326 | Chapter 9: Routing Policy and Firewall Filters<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

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

Saved successfully!

Ooh no, something went wrong!