A policy permits, denies, or tunnels specified types of traffic unidirectionally between two points.
To define a policy, you need:
Each policy consists of:
The following example shows a policy configuration that allows traffic from the green zone (from-zone) to the red zone (to-zone).
user@host# set security policies from-zone green to-zone red policy abctopublic match source-address abc
user@host# set security policies from-zone red to-zone green policy abctopublic match destination-address public
user@host# set security policies from-zone red to-zone green policy abctopublic match application ssh
user@host# set security policies from-zone red to-zone green policy abctopublic then permit
For more information on the policy configuration syntax and options, see the JUNOS Software CLI Reference.