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.5
Results will update as you type.
  • Deployment
  • Get Started
  • Network
  • High Availability
  • Licensing
  • Administration
  • Authentication
  • Cloud Integration
  • Assigned Services
  • Services
    • Access Control Service
    • DHCP
    • DNS
    • Dynamic Routing Protocols (OSPF/RIP/BGP)
    • Firewall
      • Forwarding Firewall
        • Default Forwarding Firewall Rules
        • Understanding Access Rules, Application Rules, and Policy Profiles
        • Access Rules
        • Policy Profiles
        • Firewall Objects
        • Application Control
        • TLS Inspection in the Firewall
        • Virus Scanning and ATP in the Firewall
        • URL Filtering in the Firewall
        • File Content Filtering in the Firewall
        • Mail Security in the Firewall
        • User Agent Filtering in the Firewall
          • How to Create User Agent Policies
          • How to Configure User Agent Filtering in the Firewall
        • How to Enforce SafeSearch in the Firewall
        • How to Configure Google Accounts Filtering in the Firewall
        • How to Block Search Terms using a Custom Application Object
        • How to Configure Custom Block Pages and Texts
        • Botnet and Spyware Protection in the Firewall
        • Intrusion Prevention System (IPS)
        • Traffic Shaping
        • Bridging
        • Firewall Plugin Modules
        • Firewall Authentication and Guest Access
        • How to Configure ICMP Settings
        • How to Configure IPv6 Header Settings
      • Host Firewall
      • Firewall Settings
    • HTTP Proxy
    • SIP Proxy
    • URL Filter
    • Virus Scanner
    • VPN
    • Wi-Fi
    • CloudGen Access Proxy
    • Edge Computing
  • 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
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
How to Configure User Agent Filtering in the Firewall
Published Dec 02, 2025

How to Configure User Agent Filtering in the Firewall

Dec 02, 2025
Subscribe

The CloudGen Firewall can filter HTTP and HTTPS traffic based on the user agent string of the browser. For this policy to apply, web traffic must match an access rule with Application Control and an application rule with a User Agent policy.

Before You Begin

  • Enable Application Control. For more information, see How to Enable Application Control.

  • Create User Agent policies. For more information, see How to Create User Agent Policies.

  • (optional) Enable SSL Inspection. To use SSL Inspection, the Feature Level of the Forwarding Firewall must be set to 7.2 or higher. For more information, see TLS Inspection in the Firewall.

Step 1. Create an Access Rule to Match Web Traffic

Create a PASS access rule to match HTTP and HTTPS traffic and enable Application Control and, optionally, SSL Inspection.

  1. Go to CONFIGURATION > Configuration Tree > Box > Assigned Services > Firewall > Forwarding Rules.

  2. Double-click to edit the access rule matching HTTP/HTTPS traffic.

  3. Click on the Application Policy link and select:

    • Application Control – required.

    • SSL Inspection – optional.


  4. If configured, select a policy from the SSL Inspection Policy drop-down list. For more information, see TLS Inspection in the Firewall.

  5. Click OK. 

  6. Click Send Changes and Activate.

Step 2. Create Application Rule Using User Agent Policies

  1. Go to CONFIGURATION > Configuration Tree > Box > Assigned Services > Firewall > Forwarding Rules.

  2. In the left menu, click Application Rules.

  3. Click Lock.  

  4. Create a PASS application rule. For more information, see How to Create an Application Rule. 

    • Source – Select the same source used in the matching access rule.

    • Application – Select Any to configure only the filter policies. Otherwise, select an application object from the drop-down list to combine Application Control and User Agent filtering.

    • Destination – Select the same destination used in the matching access rule.

  5. Click the URL Filter, File Content, User Agent link.


  6. Click User Agent.

  7. Select a user agent policy from the list. For more information, see How to Create User Agent Policies.


  8. Click OK.

  9. Click Send Changes and Activate.

When users attempt to access a service with a web browser that is not allowed in the user agent policy, the connection is either reset or redirected to a custom block page. The block page is customizable. For more information, see How to Configure Custom Block Pages and Texts.

Monitoring

To monitor blocked connections, go to FIREWALL > History and check the Info column of blocked connections for Detected Browser Agent not allowed by policy. 


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": 11, "requestCorrelationId": "b10ac994f48b4a62aae1edf40aa543ba"}