In transparent mode, security policies can be configured only between Layer 2 zones.
Before You Begin |
|---|
For background information, read Understanding Security Policies in Transparent Mode. |
This example configures a security policy to allow HTTP traffic from the 10.1.1.1/24 subnetwork in the l2–zone1 security zone to the server at 20.1.1.1/32 in l2–zone2.
You can use either J-Web or the CLI configuration editor to configure Layer 2 security zones.
This topic covers:
To configure Layer 2 security policies:
The Configuration page appears.
To configure Layer 2 security policies:
- user@host# set security policies from-zone
l2–zone1 to-zone l2–zone2 policy p1 match source-address
10.1.1.1/24
- user@host# set security policies from-zone
l2–zone1 to-zone l2–zone2 policy p1 match destination-address
20.1.1.1/32
- user@host# set security policies from-zone
l2–zone1 to-zone l2–zone2 policy p1 match application
http
- user@host# set security policies from-zone
l2–zone1 to-zone l2–zone2 policy p1 then permit