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 8.3 (EoL – Doc maintenance discontinued)
Results will update as you type.
  • Deployment
  • Get Started
  • Network
    • Understanding the Usage of Operational-Relevant IP Addresses on the CloudGen Firewall
    • How to Configure the Management Network, IP, and Shared IPs in the Management Network
    • How to Configure Shared Networks and IPs
    • How to Add Additional Network Interfaces
    • How to Configure VLANs
    • How to Configure Ethernet Bundles
    • Advanced Routing
    • Virtual Routing and Forwarding (VRF)
    • WAN Connections
    • How to Configure Web Security Service Integration using GRE Tunnels and a Static Public IP
    • How to Make a CloudGen Firewall Centrally Manageable Without a Control Center
    • How to Configure the Consistency Verification for Network Configurations
    • How to Activate Network Changes
    • How to Change the Management IP Address
    • IPv6
    • How to Configure MAC to Interface Mapping
    • How to Configure IP Tunneling
    • Azure Networking
      • User Defined Routing in Azure
        • How to Configure Azure Route Tables (UDR) using Azure Portal and ARM
        • How to Configure Azure Route Tables (UDR) using PowerShell and ARM
      • How to Configure Azure Load Balancer for HA Clusters using PowerShell and ARM
      • How to Configure VNET Peering with the CloudGen Firewall
      • How to Enable Azure Accelerated Networking
    • AWS Networking
  • High Availability
  • Licensing
  • Administration
  • Authentication
  • Cloud Integration
  • Assigned Services
  • Services
  • 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.
    /
    User Defined Routing in Azure
    Published Jan 09

    User Defined Routing in Azure

    Jan 09, 2026
    Subscribe

    User Defined Routes (UDRs) can be used to override default routing in Azure. These routes are assessed by Azure using the longest prefix match algorithm. For example, a route table has two routes: One route specifies the 10.0.0.0/24 address prefix, while the other route specifies the 10.0.0.0/16 address prefix. Azure routes traffic destined for 10.0.0.5, to the next hop type specified in the route with the 10.0.0.0/24 address prefix, because 10.0.0.0/24 is a longer prefix than 10.0.0.0/16, even though 10.0.0.5 is within both address prefixes. Therefore, to route the traffic correctly to the virtual appliance, you must override the default, Azure provided routes with more specific routes back to the virtual appliance.

    Example Routing Scenario: CloudGen Firewall HA Cluster

    In the scenario above, the traffic arrives at the external load balancer in Azure, is forwarded on to the active CloudGen Firewall and then is forwarded on via the network interface of the active firewall. As the CloudGen Firewalls can route to all subnets in the VNet, the traffic arrives successfully at the servers in the server subnet. To avoid asynchronous routing, the traffic needs to return via the same CloudGen Firewall interface. So on the return journey, traffic leaving the server subnet must be routed via the internal load balancer, which will direct it to the active firewall interface. If the UDR routing all traffic back to the internal load balancer was not in place, the traffic would route out to the internet using the default routes provided by Azure, which would result in asynchronous routing, or a routing triangle, as the traffic would not be returning back the same way as it came.

    Example Routing Scenario: CloudGen Firewall HA Cluster with WAF Cluster

    In the above scenario, traffic to the WAF cluster in Azure is delivered via an external load balancer. As the WAF is a reverse proxy, the traffic from the WAF will always be from one of the internal IPs assigned to the WAF network interfaces. The UDR in the WAF subnet directs traffic to the spoke server traffic via the firewall ILB, which means all traffic destined for the web servers is inspected by the CloudGen Firewalls after it has passed through the WAFs. The CloudGen Firewalls then route the traffic from the active CloudGen Firewall instance to the web server. On the return journey, the traffic destined for the WAF is directed by UDR to the ILB, then routed through the active firewall instance back to the WAF. Again, this use of UDRs prevents asynchronous routing by ensuring that traffic leaves the destination subnet via the same route as it arrived there.

    For detailed information on how to configure user Defined Routes in Azure, see:

    • How to Configure Azure Route Tables (UDR) using Azure Portal and ARM

    • How to Configure Azure Route Tables (UDR) using PowerShell and ARM

    Additional Reference

    • https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview


    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": 12, "requestCorrelationId": "2ff300b8c26f4ec2bb47cd3b38a41e5f"}