[
Contents ]
[
Prev ]
[
Next ]
[
Index ]
[
Report an Error ]
Configuring a Policy to Permit Traffic
Configuring a policy to permit traffic is the first
step in the sample configuration explaining how to configure a policy.
To configure a policy to permit traffic, use either
J-Web or the CLI configuration editor. The following configuration
commands allow traffic between the loopback addresses of both the
Juniper Networks devices.
This topic covers:
J-Web Configuration
To configure a policy to permit traffic using the
J-Web configuration editor:
Select Configuration>View and Edit>Edit
Configuration. The Configuration page appears.
Next to Security, click Configure or Edit .
Next to Policies, select the check box and click Configure .
In the From zone name box, type green .
In the To zone name box, type red.
In the Policy name box, type allowin .
Select the Match check box.
Select the Then check box.
Next to Match, click Configure .
From the Source address choice list, select Source address .
Next to Source address, click Add new
entry .
From the Value keyword list, select Enter
specific value .
In the Address box, type netTopLoopInt and click OK .
To match the policy to a destination address, from the
Destination address choice list, select Destination
address .
Next to Destination address, click Add
new entry .
From the Value keyword list, select Enter
specific value .
In the Address box, type netBottomLoopInt and
click OK .
To match the policy to an application set name, from the
Application Choice list, select Application .
Next to Application, click Add new entry .
To specify the application set name to match the policy,
from the Value keyword list, select any and click OK .
Next to Then, click Configure .
From the Action list, select Permit and click OK .
If you are finished configuring the device, commit the
configuration.
To check the configuration, see Verifying Policy Configuration .
CLI Configuration
user@host# set security policies from-zone RED to-zone
GREEN policy allowIn match source-address netTopLoopInt
user@host# set security policies from-zone RED to-zone
GREEN policy allowIn match destination-address netBottomLoopInt
user@host# set security policies from-zone RED to-zone
GREEN policy allowIn match application any
user@host# set security policies from-zone RED to-zone
GREEN policy allowIn then permit
If you are finished configuring the device, commit
the configuration.
To check the configuration, see Verifying Policy Configuration .
Related Topics
[
Contents ]
[
Prev ]
[
Next ]
[
Index ]
[
Report an Error ]