You can import and update existing static network objects from a CSV file containing the network object data in plain text. Each line of the CSV file contains one IP address or network in CIDR format for the new network object. For network objects containing multiple IP addresses or networks, create a line for each IP address or network. You can import firewall objects in the Forwarding, Host, or Distributed Firewall and the Global, Range, or Cluster Firewall objects on the NextGen Control Center. If the network object already exists, the user has the option to replace it with the data stored in the CSV file. Supported network object types:
- List of IP addresses
- List of network addresses
CSV File Formatting Guidelines
Use the following guidelines to create the CSV file:
- Each value must be placed in quotes. E.g.,
- Use a semicolon (;) to separate the values. E.g.,
Each line is made up of the following information:
- Network Object Name – Enter the name of the network object in quotes. Can be used multiple times to add more than one value to a network object. Names of the network objects may only contain ASCII characters.
- IP address or Network – Enter the IP address or network in CIDR format in quotes.
- Network Object Type – Enter one of the supported network object types in quotes:
- "iplist" – List of IP Addresses Network Object.
- "netlist" – List of Network Addresses Network Object.
"Net_obj1";"172.16.10.1";"iplist" "customer_c";"172.16.22.0";"iplist" "customer_c";"172.16.22.1";"iplist" "customer_c";"172.16.22.2";"iplist" "customer_c";"172.16.22.3";"iplist" "customer_c";"172.16.22.4";"iplist" "customer_c";"172.16.22.5";"iplist" "remoteNetworks";"10.22.1.0/24";"netlist" "remoteNetworks";"172.16.101.0/24";"netlist" "remoteNetworks";"172.16.102.0/24";"netlist" "remoteNetworks";"172.16.103.0/24";"netlist"
Resulting network objects after importing the CSV file:
In this article
Import Network Objects from a CSV File
- Go to CONFIGURATION > Configuration Tree > Box > Virtual Servers > your virtual server > Assigned Services > Firewall > Forwarding Rules.
- Click Lock.
- In the menu, click Networks.
- On the top right, click the import Network Object icon, or right-click in the main area and select Import Network Objects.
- Select the CSV file containing the network object definitions in the required format, and click Open.
- If a network object of the same name already exists, click Replace Existing Object to use the data stored in the CSV file, or click Skip to keep the current network object.
- Verify that the number of network objects to be created matches the content of your CSV file.
- Click OK.
- Click Send Changes and Activate.