To be able to accurately reference the networks used by AWS and Azure, these networks can be imported automatically in a dynamic network object. Initial creation is triggered by command line script. After they are created, the network objects are automatically updated every hour. Note, however, that after they are created, it is only possible to disable the network objects in Barracuda Firewall Admin. Deleting the network objects is not possible. Importing dynamic network objects does not work with the Distributed Firewall service.
Before You Begin
Select the network object you want to create:
- Cloud – Create network objects for all data centers in AWS and Azure.
- Azure – Create network objects for all Azure data centers.
- AWS – Create network objects for all AWS data centers.
- Datacenter Specific – To create network objects for specific AWS or Azure regions, list all network objects names:
/opt/phion/bin/external-netobj-tool list
For automatic updates to work, you must enable network object updates on the firewalls units:
- Log into the CloudGen Firewall.
- Go to Box > Infrastructure Services > General Firewall Configuration.
- In the left menu, select Operational.
- Click Lock.
- Set On-demand network objects update to yes.
- Click Send Changes and Activate.
Importing Azure and AWS Data Center Network Ranges
To import network objects from the cloud servers on a CloudGen Firewall, a command line tool must be executed manually on the firewall.
Importing network objects on managed firewalls requires you to execute the tool with the following arguments:
Log into the Control Center via SSH.
Create the dynamic network objects:
For all firewall services on the Control Center:
/opt/phion/bin/external-netobj-tool create PREDEFINED_CLOUD_NETWORK_OBJECT_NAME
For all firewall services in a range:
/opt/phion/bin/external-netobj-tool create -r RANGE PREDEFINED_CLOUD_NETWORK_OBJECT_NAME
For all firewall services in a cluster:
/opt/phion/bin/external-netobj-tool create -r RANGE -c CLUSTER PREDEFINED_CLOUD_NETWORK_OBJECT_NAME
For a specific firewall service:
/opt/phion/bin/external-netobj-tool create -r RANGE -c CLUSTER -s SERVER_SERVICE PREDEFINED_CLOUD_NETWORK_OBJECT_NAME
The cloud data center network objects are now available in the firewall services. It can take up to one hour for the network objects to be populated.