We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda CloudGen Firewall

How to Configure Automatic Connectivity to Azure Virtual WAN

  • Last updated on

VPN connections from a CloudGen Firewall to the Azure Virtual WAN hub are provisioned automatically. The automatic configuration provides a robust and redundant connection by introducing two active-active IPsec IKEv2 VPN tunnels for each ISP with the respective BGP setup and fully automated Azure Virtual WAN site creation on Microsoft Azure. All necessary services on the CloudGen Firewall (BGP and VPN) are created and configured automatically. The finished deployment allows for both branch-to-branch and branch-to-cloud connections. If you disable or delete the configuration on your CloudGen Firewall, make sure to delete the resources in Azure as soon as Virtual WAN is no longer needed.

vpn_hub.png

Before You Begin

  • For CC admins to be able to trigger the virtual WAN configuration, cloud integration permissions are required. For the CC admin to be able to see the automatically created services, read permissions for VPN and BGP services are required. The automation service itself is not run in the scope of the CC admin that triggered the connection.
  • Create an Azure service principal to allow the firewall to authenticate to the Azure Virtual WAN APIs. For more information, see How to Create a Service Principal for Azure Virtual WAN.

Step 1. Configure WAN Connection 

You must have a static IPv4 public IP address. Your links must have similar bandwidth and latency if you want to use more than one ISP

  1. Configure your ISP. For more information, see How to Configure an ISP with Static IP AddressesHow to Configure an ISP with Dynamic IP Addresses (DHCP) or WAN Connections.
  2. Verify that the setting Direct Internet Access is enabled in your ISP configuration.
  3. Configure direct attached routes to announce the local networks that should have access to cloud resources. For more information, see the Advertise Route setting in How to Configure Direct Attached Routes .

Step 2. Create Virtual WAN Service in Microsoft Azure 

  1. Log into the Azure portal: https://portal.azure.com
  2. In the left menu, click Create a resource and search for Virtual WAN.
  3. Click Virtual WAN.
     marketplace_vwan1.png
  4. In the next blade, click Create.
  5. In the Create WAN blade, specify values for the following:
    • Resource Group – Select an existing resource group from the drop-down menu, or create a new one.
    • Resource group location – Select the region of the Virtual WAN, e.g., West Europe.
    • Name – Enter a name for your Virtual WAN.
    • Type – Select Standard if you want to use multiple ISP for the connection of your firewall to Microsoft Azure Virtual WAN or hub-to-hub/routing mesh for peered VNETs, or if you want to connect the hubs in Azure. Otherwise, select Basic.
      create_vwan_blade.png
  6. Click Review + Create.
  7. Click Create to finish Virtual WAN creation.

Step 3. Create a Hub in Your Azure Virtual WAN

Creating a hub takes between 30 and 50 minutes.

  1. Log into the Azure portal: https://portal.azure.com
  2. In the left menu, click All services  and search for Resource groups.
  3. Click on the resource group your vWAN is attached to. See Step 2.
  4. Click on your vWAN created in Step 2.
  5. On the left side, click Hubs.
  6. In the next blade, click + New Hub.
    create_hubs_1.png
  7. The Create virtual hub blade opens. Specify values for the following:
    • Region – Select a region from the drop-down list, e.g., West Europe.
    • Name – Enter a name for the hub, e.g., doc-vwan-hub.
    • Hub private address space - Enter the hub's address range in CIDR, e.g., 10.0.0.0/24 .
      create_hub2.png 
  8. Click Next: Site to site >.
  9. The Site to site blade opens. Specify the values for the following:
    • Do you want to create a Site to site (VPN gateway) - Select Yes.
    • Gateway scale units – Select a scale unit from the drop-down menu according to your requirements.
       create_hub3.png
  10. Click Review + create.
  11. Review your settings and click Create to start the creation of the hub. This can take up to 30 minutes.

Step 4. Trigger Virtual WAN connection

  1. Log into the CloudGen Firewall with Firewall Admin.
  2. Go to CONFIGURATION > Configuration Tree > Multi Range > your range > your cluster > Boxes > your Box > Advanced Configuration > Cloud Integration.
  3. Select Azure Virtual WAN in the left menu.
  4. Click Lock.
  5. In the Azure Virtual WAN Connections section, click +.
  6. Enter a name for your virtual WAN and click OK.
  7. The Azure Virtual WAN Connections window opens. Specify values for the following:
    • Virtual WAN Name – Enter the name of the virtual WAN created in Step 2.
    • Resource Group – Enter the name of the resource group containing the virtual WAN.
    • Subscription Id – Enter the ID of the subscription containing the Virtual WAN.
    • Tenant Id – Enter the tenant ID of the Azure account containing the Virtual WAN.
    • Client Id – Enter the ID of the application used to authenticate to the Azure API.
    • Client Password New – Enter the password for the application used to authenticate to the Azure API.
    • Client Password Confirm – Retype t he password for the application used to authenticate to the Azure API.
    • Virtual Hub Name – Enter the name of the hub created in Step 3.
    • Active – Select Yes.
      cloud_integration.png 

  8. Click OK
  9. Click Send Changes and Activate.

A VPN site entry is automatically created, and the firewall starts to check for an available configuration every 30 seconds. Wait for the new hub association to complete. The firewall automatically picks up the new configuration and connects to the Virtual WAN.

To change the Virtual Hub of an existing Virtual WAN configuration, first disable the Virtual WAN configuration, and then enter the new Virtual Hub Name.

Step 5. Configure Routes to Be Advertised via BGP

Only routes with the parameter Advertise set to yes will be propagated via BGP.  

  1. Go to CONFIGURATION > Configuration Tree > Multi Range > your range > your cluster > Boxes > your Box > Network.
  2. Click Configuration Mode.
  3. Click Switch to Advanced.
  4. Click Lock.
  5. (optional) Click IP Configuration. In the Management Networks and IPs section, set Advertise Route to yes in order to propagate the management network.
  6. In the left menu, click Advanced Routing.
  7. Double-click on the Routes you want to propagate, and set Advertise Route to yes.
    advertise_route.png
  8. Click OK
  9. Click Send Changes and Activate.

Step 6. Verify Connectivity and Routing

For redundancy reasons, the CloudGen Firewall automatically creates two IPSec-IKEv2 VPN tunnels for each ISP and the required BGP routes to the Microsoft Azure Virtual Hub. Both tunnels for each ISP are in active-active mode. In case one tunnel fails, the routing is changed to automatically use the other tunnel. A failover can take up to 30 seconds, during which no traffic will be forwarded. 

Step 6.1 Verify VPN Tunnels and Routing on Your Firewall
  1. Log into the firewall.
  2. Go to VPN > Site-to-Site.
  3. Verify that two IPSec-IKEv2 tunnels for each ISP are up and running. In the example below, four ISPs are configured, resulting in eight tunnels (two tunnels for each link):
    ng_admin4_isps.png
  4. Go to CONTROL > Network and open the BGP tab.
  5. Verify that, along with the VPN tunnels, all associated BGP autonomous systems and neighbors are present. In the example below, four ISPs are configured, resulting in eight BGP neighbor entries. 
    control_network_bgp.png

(Optional) Step 6.2 Verify Connectivity and Routing in Microsoft Azure
  1. Log into the Azure portal: https://portal.azure.com
  2. In the left menu, click  All services and search for Virtual WANs.
  3. Click on your vWAN created in Step 2.
  4. Click on your hub created in Step 3.
  5. Click VPN (Site to site).
  6. Click on the entry of your CloudGen Firewall in the site list.
  7. In the next blade, you can see an entry for each ISP:
    azrue4isps.png


Step 7. Configure the Forwarding Firewall Rule Set

To manage and restrict network traffic from and to the Azure Virtual Hub, the forwarding firewall rule set needs to be adapted to allow traffic as required.

For more information, see How to Create a Pass Access Rule.

Next Steps

Attach an Azure Virtual Network to the Virtual WAN hub to use the VPN connection for branch-to-cloud connectivity.

Last updated on