Configure Stateful Firewall Services
To configure stateful firewall services, you include statements at the
[edit services]hierarchy level of the configuration:[edit services]stateful-firewall {rule rule-name {match-direction (input | output | input-output);termterm-name{from {applications [application-names];application-sets [set-names];destination-addressaddress;source-addressaddress;}then {(accept | discard | reject);allow-ip-option [values];syslog;}}}rule-setrule-set-name{[ rulerule-names];}}