A service filter identifies packets on which services need to be applied. The service filter also identifies the Physical Interface Card (PIC) performing the service. To configure service filters, include the
firewallstatement at the[edit]hierarchy level:[edit]firewall {familyinet{ service-filterfilter-name{ termterm-name{ from {match-conditions; } then {action;action-modifiers;}}}}}
NOTE: You must specify
inetas the address family in order to configure a service filter.Service filters are configured the same way as firewall filters. Service filters have a subset of the match conditions and actions for firewall filters.
One of the actions must be
serviceorskip:
- Specifying the
serviceaction directs packets for stateful-firewall service.- Specifying the
skipaction let packets bypass stateful-firewall service.For more information about configuring firewall filters, see Configuring Firewall Filters. For more information about services and service interfaces, see the JUNOS Services Interfaces Configuration Guide.