Create a Firewall Policy
Create a firewall policy that you can associate with a firewall. Firewall policies contain the rules that control how the firewall inspects, allows, or denies network traffic.
Important
If the firewall policy you use with a firewall doesn't have any rules specified, the firewall denies all traffic.
If the firewall policy you use with a firewall doesn't have any rules specified, the firewall denies all traffic.
- Click Create network firewall policy.
- In the Name box, enter a name for the policy.
- In the Create in compartment list, select the compartment.
- If you want to add tags, click Show tagging options and enter tagging information for the policy.
- Click Create network firewall policy.
- Use the 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.