Overwriting the existing outbound firewall rules

Last Updated : Sep 10, 2020 |

About this task

If you overwrite the outbound firewall rule, System Manager removes all the existing rules from the whitelist and adds the new entries in the whitelist.

Procedure

  1. Log in to the System Manager command line interface with CLI user credentials that you create during application deployment.
  2. Do one of the following:
    • To overwrite the list of destination IPv4, IPv6, FQDN, and Network with CIDR notation IP addresses in whitelist, type configureOutboundFirewall overwrite -s <destination IPv4/IPv6/FQDN/CIDR IPs>, and press Enter.

      For example, to overwrite the specific entries, type the following:

      configureOutboundFirewall overwrite -s 10.10.10.14,10.10.10.15,example.avaya.com,10.10.10.16/24,2a07:2a42:adc0:19::9:25

    • To overwrite the list of destination IPv4, IPv6, FQDN, and Network with CIDR notation IP addresses in the whitelist through a file, type configureOutboundFirewall overwrite -f <absolute path of the.txt file>, and press Enter.

      You can enter each entry in a separate line in the <nameofthefile>.txt file.

      For example, the format of the file is:

      
      cat /home/location/filename.txt
       10.10.10.14
       10.10.10.15
       2a07:2a42:adc0:19::9:25
       example.avaya.com
       10.10.10.16/24

      For example, to overwrite the entries through the file, type the following:

      configureOutboundFirewall overwrite -f /home/location/filename.txt

    While processing the FQDN, System Manager resolves the FQDN to its IP Address, and then adds, removes, or overwrites that IP address in the whitelist.

    System Manager overwrites the existing IP Addresses and FQDN with the new details in the whitelist.