Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
🔍 Discover Our Product Documentation

Barracuda CloudGen Firewall 10
Results will update as you type.
  • Deployment
    • Hardware
    • Virtual Systems (Vx)
    • Public Cloud
      • Microsoft Azure Deployment
      • Amazon AWS Deployment
      • Google Cloud Platform Deployment
        • How to Deploy the CloudGen Firewall in the Google Cloud via Google Launcher
        • How to Deploy a CloudGen Firewall in Google Cloud Using the Command Line
        • How to Deploy a CloudGen Firewall with Multiple NICs in Google Cloud Using the Command Line
        • How to Manually Upload and Deploy the CloudGen Firewall in the Google Cloud
        • How to Access the Serial Console on the CloudGen Firewall in the Google Cloud
  • Get Started
  • Network
  • High Availability
  • Licensing
  • Administration
  • Authentication
  • Cloud Integration
  • Assigned Services
  • Services
  • Automated Critical Updates
  • Firewall Control Center
  • Barracuda Secure Connector
  • Best Practice
  • Implementation Guides
  • Monitoring and Reporting
  • Maintenance
  • Remote Access Clients
  • Management Interfaces, Tools, and Apps
  • TUFIN Integration API Service
  • Hardware Models
  • REST API

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    How to Deploy a CloudGen Firewall with Multiple NICs in Google Cloud Using the Command Line
    Published Jan 09

    How to Deploy a CloudGen Firewall with Multiple NICs in Google Cloud Using the Command Line

    Jan 09, 2026
    Subscribe

    In some scenarios, an instance with multiple network interfaces in multiple VPC networks is required. Add the required number of network interfaces during deployment. The primary network interface is configured automatically; the additional network interfaces must be added manually to the CloudGen Firewall configuration. In Google Launcher, only the latest version is visible. The additional network interfaces must be added in the firewall configuration after deployment. The CloudGen Firewall images are available in the Google Cloud Launcher. These images can be deployed with the gcloud command-line tool included in the Google Cloud SDK.

    • Image project – barracuda-release

    • Images available – cudangfbyol-v711-056-hf843-hf844-20170926, cudangfbyol-v703-087-20170804, cudangfbyol-v710-371-20170804

    Before You Begin

    • Install the Google Cloud SDK. Alternatively, you can also use Google Cloud Shell.

    • Gather information needed for deployment:

      • Name of the VPC network you plan to deploy to

      • Name of the subnet you plan to deploy to

      • Private IP address you want to assign to the new CGF instance

      • Availability zone you will deploy to

    Step 1. Deploying a Multi-NIC Firewall Instance

    To create an instance with multiple network interfaces, execute the –network-interface argument for each NIC, without adding IP addresses to avoid assigning public to each NIC.

    gcloud compute instances create my-first-ngfirewall \ --image-family barracuda-nextgen-firewall-f-series \ --image-project barracuda-release \ --project my-project \ --machine-type n1-standard-1 \ --network-interface network=default,subnet=default,private-network-ip=10.128.0.10 \ --network-interface no-address,network=second-vpc,subnet=default,private-network-ip=10.129.0.20 \ --can-ip-forward \ --tags ngfw \ --zone us-central1-b

    Step 2. Configure Additional Network Interfaces on the Firewall

    Step 2.1 Add the Network Interfaces to the Firewall

    Define the number of interfaces attached to the instance.

    1. Go to CONFIGURATION > Configuration Tree > Box > Network.

    2. Click Lock.

    3. In the left menu, select Interfaces.

    4. Double-click the entry in Network Interface Cards. The Network Interface Configuration window opens.

    5. Change the Number of Interfaces to the number of interfaces attached to the firewall.

    6. Click Send Changes and Activate.

    Step 2.2. Add Routes for Each Network Interface

    Add two directly attached routes and a gateway route for each network interface.

    1. Go to CONFIGURATION > Configuration Tree > Box > Network.

    2. Click Lock.

    3. In the left menu, select Routing.

    4. In the left menu, expand the Configuration Mode section and click Switch to Advanced View.

    5. Create a new directly attached route for the private IP address of the network interface:

      • Target Network Address – Enter the private IP address of the network interface with a /32 subnet mask E.g., 10.78.1.10/32

      • Route Type – Select directly attached network.

      • Interface Name – Select the network interface. E.g., eth1

      • Foreign IP Sufficient – Select yes. 

      • Trust Level – Select Unclassified.

    6. Create a new directly attached route for the default subnet gateway assigned by Google. The default gateway is always the first IP address in the subnet:

      • Target Network Address – Enter the first IP address in the subnet with /32 subnet mask. E.g., 10.78.1.1/32

      • Route Type – Select directly attached network.

      • Interface Name – Select the network interface. E.g., eth1

      • Foreign IP Sufficient – Select yes.

      • Trust Level – Select Unclassified.

    7. Create a new gateway route for the subnet using the default subnet gateway:

      • Target Network Address – Enter the subnet in CIDR format. E.g., 10.78.1.0/24

      • Route Type – Select gateway.

      • Gateway – Enter the first IP address in the subnet. E.g., 10.78.1.1

      • Trust Level – Select Unclassified. 

    8. Click Send Changes and Activate.

    Step 2.3.  Activate the Network Changes
    1. Go to CONTROL > Box.

    2. In the left menu, expand the Network section and click Activate new network configuration.

    3. Select Failsafe. The 'Failsafe Activation Succeeded' message is displayed after your new network configurations have been successfully activated.

    Step 2.4. Add the IP Addresses as Box IPs
    1. Go to CONFIGURATION > Configuration Tree > Box > Network.

    2. In the left menu, select IP Configuration.

    3. Click Lock.

    4. In the Additional IPv4 Addresses table, add the private IP addresses.

    5. Click Send Changes and Activate. 

    Next Steps

    Verify that all client instances are routed via the CloudGen Firewall and that the Google firewall does not block any connections.


    We value your feedback.
    If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
    For general product inquiries or technical support, please contact the global Barracuda Support team.

    {"serverDuration": 10, "requestCorrelationId": "26ea5e5b50bd42698769a4e73287e91d"}