Change a Firewall

Change the information for a firewall in Oracle Cloud Infrastructure.

Important

When you make the following changes, the update causes a connection reset in the firewall:
  • Updating mapped secret information in a policy associated with a firewall.
  • Changing the firewall policy that's associated with the firewall to one that uses different mapped secret information than the current policy.

Changing other types of information in the firewall does not result in a connection reset.

    1. On the navigation menu, click Identity & Security. Under Firewalls, click Network Firewalls.
    2. Select the compartment.
    3. Click the firewall.
    4. Click Edit.
    5. Change the firewall information as needed, and then click Save Changes.
      Note

      • When you upgrade a policy, any associated firewall is also upgraded automatically. After the upgrade is complete, the attached firewalls can no longer use old versions of policies.
      • After a firewall is upgraded, it can't be downgraded back to the old version, and it can't use an old version of a policy.

      For more information, see Upgrade a Firewall Policy.

  • Use the network-firewall network-firewall update command and required parameters to edit a firewall.
    oci network-firewall network-firewall update 
    --network-firewall-id network_firewall_id [OPTIONS]
    Note

    • When you upgrade a policy, any associated firewall is also upgraded automatically. After the upgrade is complete, the attached firewalls can no longer use old versions of policies.
    • After a firewall is upgraded, it can't be downgraded back to the old version, and it can't use an old version of a policy.

    See Upgrade a Firewall Policy for more information.

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the UpdateNetworkFirewall operation to update a firewall.

    Note

    • When you upgrade a policy, any associated firewall is also upgraded automatically. After the upgrade is complete, the attached firewalls can no longer use old versions of policies.
    • After a firewall is upgraded, it can't be downgraded back to the old version, and it can't use an old version of a policy.

    See Upgrade a Firewall Policy for more information.