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.
- 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.
Next Step
Create components and build rules for the firewall policy. See Creating and Managing Firewall Policies.