Creating a Policy
Learn how to create a policy that you can associate with a network firewall.
Note
Before you begin:
-
If you'e using SSL Forward Proxy or SSL Inbound Inspection, you must have one Oracle Cloud Infrastructure Vault secret for each inbound or outbound key. See Setting Up Certificate Authentication for instructions.
-
Identify the URLs and IPv4 and IPv6 addresses and CIDR blocks you want to allow or deny access to.
-
See Network Firewall Policy Rules and Rule Components for detailed information about each component and how they're used to construct rules.
- Use the oci network-firewall network-firewall-policy create command and required parameters to create a policy.
oci network-firewall network-firewall-policy create --compartment-id compartment_id[OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Use the CreateNetworkFirewallPolicy operation to create a policy.