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
  • 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
        • 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 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 Inline Firewall Authentication
          • How to Configure Offline Firewall Authentication
          • How to Configure Guest Access with the Ticketing System
          • How to Configure Guest Access with a Confirmation Page
          • How to Manage Guest Tickets - User's Guide
          • How to Customize Firewall Authentication HTML Files
        • 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
  • 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 Configure Offline Firewall Authentication
    Published Jan 09

    How to Configure Offline Firewall Authentication

    Subscribe

    Offline Firewall Authentication works with all CloudGen Firewall services. The user is authenticated by the fwauth daemon. To implement offline firewall authentication, configure your firewall authentication settings and create an App Redirect access rule with the destination set to an internal firewall IP to let users access the fwauth service. The user can then use the Barracuda CloudGen Authentication Client or the browser login. The fwauth service listens on 127.0.0.1. Depending on the type of authentication required, use the following ports:

    • TCP 80 – Username/password authentication. (HTTP only) Use for external authentication servers (e.g., MSAD).

    • TCP 443 – Username/password (HTTPS with automatic redirect to HTTPS for HTTP requests). Use for external authentication servers (e.g., MSAD).
      This is the classic method for offline authentication, where a user connects directly to the firewall for authentication. After the login, a success page is displayed and the browser tab needs to stay open as described in this article below.

    • TCP 448 – Username/password (HTTP and HTTPS) with automatic redirection. Use for external authentication servers (e.g., MSAD).
      This authentication method is intended to be used similarly to the guest access captive portal. Related rules are similar, and as a result any non-authenticated user will be first sent to fwauth and then be redirected back to the originating target URL.

    • TCP 444 – X.509 certificate authentication (HTTPS with automatic redirect to HTTPS for HTTP requests).

    • TCP 445 – X.509 certificate plus username/password authentication (HTTPS with automatic redirect to HTTPS for HTTP requests).

    Usage of Special Characters and Umlauts in Passwords

    When configuring Offline Firewall Authentication, you must consider whether passwords may contain special characters, e.g., € or umlauts. Because characters will be translated between the web browser and the firewall and between the firewall and the authentication service using codepages, it is important to decide which client codepage will be used and which authentication scheme supports the appropriate character conversion.

    code_page.png

    The following table shows if codepage will be used, under which constraints it will be used, and if special characters will be translated correctly:

    Conversion of
    special characters

    Web Browser >
    CODEPAGE >
    Firewall

    Firewall >
    CODEPAGE >
    Authentication Service

    Authentication Scheme

    Conversion of
    special characters

    Web Browser >
    CODEPAGE >
    Firewall

    Firewall >
    CODEPAGE >
    Authentication Service

    Authentication Scheme

    NO

    8859-1

    UTF-8

    Any

    YES

    8859-15

    UTF-8

    Any
    except NGFLocal

    YES

    UTF-8

    UTF-8

    Any
    except NGFLocal

    YES

    Windows 1252

    -

    NGFLocal

    The codepage in the column Web Browser > CODEPAGE > Firewall can be configured.

    (Optional) Step 1. Configure the Codepage if Special Characters Must Be Allowed in Passwords

    1. Go to CONFIGURATION > Configuration Tree > Box > Infrastructure Service > Authentication Service.

    2. Click Lock.

    3. In the left menu, click Configuration Mode.

    4. In the left menu, click Switch to Advanced.

    5. In the left menu, click Timeouts and Logging.

    6. In the section Expert Settings, for Client Codepage, select the codepage according to the upper table and that best fits your requirements.

    client_code_page.png
    1. Click Send Changes.

    2. Click Activate.

    Step 2. Configure the Firewall Authentication Settings

    Set the HTTPS private key and certificate to activate firewall authentication.

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

    2. In the left menu, click Authentication.

    3. Click Lock.

    4. (optional) Edit the Operational Settings.

    5. Upload or create the HTTPS Private Key and Certificate.

    6. Select the Authentication Scheme from the list, e.g., MS Active Directory. For more information, see Authentication.

    7. Click Send Changes and Activate.

    Step 3. Create Access Rules for Offline Authentication

    To let users go directly to the firewall login page to log out or log in, set the Destination IP to an internal firewall IP (not the management IP).

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

    2. Click Lock.

    3. Create an App Redirect access rule for HTTP traffic:

      • Source – Select Trusted Networks, or enter the internal network for the clients who need to authenticate.

      • Service – Select HTTP.

      • Destination – Enter an internal IP used by the firewall service. Do not use the management IP.

      • Redirection – Enter 127.0.0.1: <port>. Enter the port of the authentication method supporting HTTP: 80, 444,445,448 - see list at the top of the page. 

      • Authenticated User – Select Any.

    FWAuth_OFF01.png
    1. (optional) Create an App Redirect access rule for HTTPS traffic:

      • Source – Select Trusted Networks, or enter the internal network for the clients who need to authenticate.

      • Service – Select HTTPS.

      • Destination – Enter an internal IP used by the firewall service. Do not use the management IP.

      • Redirection – Enter 127.0.0.1: <port>. Enter the port of the authentication method supporting HTTP: 443, 444, 445, 448 - see list at the top of the page.

      • Authenticated User – Select Any.

    FWAuth_OFF02.png
    1. Move the redirect rules above the INTERNET-2-LAN rule.

    2. Click Send Changes and Activate.

    Step 4. Authenticate to the Barracuda CloudGen Firewall

    After implementing offline authentication, you can use it to log into the CloudGen Firewall.

    1. Go to http://<IP address used as destination in the access rule>

    2. On the login screen, enter your user credentials, and click Login.

    cgf_auth.png

    Keep the authentication page open for as long as you need to be connected to the Barracuda CloudGen Firewall. If you close the browser, you are automatically logged out after five minutes. This limitation does not apply if you are using the Authentication Client to log in.

    Depending on your browser, you may need to adjust performance settings in order to prevent inactive tabs from entering the sleep state after a certain amount of time. For example, in Microsoft Edge, go to Settings > System and performance, and change the settings for Save resources with sleeping tabs.


    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": 35, "requestCorrelationId": "d252266fa8b64c4b8d62186f2406d6e5"}