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 Guest Access with the Ticketing System

  • Last updated on

Set up a login or ticketing system to temporarily grant access to guest users. Ticketing admins assign guest tickets to the users. The user credentials on these tickets are then used by the guest users when prompted to authenticate. Tickets expire after a set period of time chosen by the ticket administrator.

Step 1. Create the SSL Certificate and Ticket Admin User

Create or upload an SSL certificate for the ticketing interface and create the ticketing admin user.

  1. Go to CONFIGURATION > Configuration Tree > Box > Virtual Servers > your virtual server > Assigned Services > Firewall > Forwarding Settings.
  2. In the left menu, select Authentication.
  3. Click Lock.
  4. Import or create the Default HTTPS Private Key and Default HTTPS Certificate.

    This SSL certificate is also used by inline and offline firewall authentication. If inline authentication is used, the Name of the certificate must be the IP address or an FQDN resolving to the IP address of the Barracuda NextGen Firewall F-Series. This value is used to redirect the client to the authentication daemon.

  5. In the left menu, click on Guest Access
  6. (optional) Enter a custom Confirmation text for the ticketing interface.
  7. In the Ticketing Administration User section, enter Username and Password for the ticketing admin. You can only create one ticket admin.
    GuestAccess03.png
  8. (optional) Enter Max Days and Max Hours to limit the lifetime of the ticket the ticketing admin is allowed to grant. Enter 0 to remove the limit.
  9. Click Send Changes and Activate.

Step 2. Create an Access Rule to Access the NextGen Firewall F-Series Admin Ticketing Interface

Create an app redirect access rule to access the NextGen Firewall F-Series ticketing system. This interface is used to create tickets for guest users.

  1. Go to CONFIGURATION > Configuration Tree > Box > Virtual Servers > your virtual server > Assigned Services > Firewall > Forwarding Rules.
  2. Click Lock.
  3. Create an App Redirect access rule:
    • Action  Select App Redirect.
    • Name – E.g., LAN-2-TicketingAdminInterface.
    • Source – Select the source network(s) allowed to access the ticketing system.
    • Service – Select HTTP+S.
    • Destination – Enter the IP address for the admin ticketing interface. You can use any free IP address or an IP address on the Barracuda NextGen Firewall F-Series that does not have a listener on port 80 and 443.
    • Redirection  Enter 127.0.0.1:447
    • Authenticated User – Select Any or a user object containing the users allowed to create guest tickets.
  4. Click OK
    GuestAccess02.png
  5. Place the access rule so that it is the first rule to match for HTTP+S traffic to the chosen ticketing system IP address.
  6. Click Send Changes and Activate.

The admin ticketing interface is now reachable via https://4.4.4.4/lp/cgi-bin/ticketing. (If you used 4.4.4.4 as the destination IP address in the access rule.)

GuestAccess01.png

Step 3. Create an Access Rule to Redirect Users to the User Ticketing Login

Create an app redirect access rule that redirects the user to the FWauth daemon on port TCP 447 on the Barracuda NextGen Firewall F-Series. FWauth on port 447 displays the ticketing login page.

  1. Go to CONFIGURATION > Configuration Tree > Box >Virtual Servers > your virtual server > Assigned Services > Firewall > Forwarding Rules.
  2. Click Lock.
  3. Create an App Redirect access rule:
    • Action  Select App Redirect.
    • Name – E.g., LAN-2-TICKETAUTH.
    • Source – Select the source network(s). 
    • Service – Select HTTP+S. Since the user has to use a browser to access the confirmation page, limit the service to HTTP and HTTPS.
    • Destination – Select the destination. E.g., Internet.
    • Redirection  Enter 127.0.0.1:447
    • Authenticated User – Select Any
  4. Click OK
    GuestAccess04.png
  5. Place the access rule so that it is the first rule to match for HTTP+S and unauthenticated users for the source network, but after the rule allowing unauthenticated DNS access if the DNS server is not in the local network.
  6. Click Send Changes and Activate.

Step 4. Create an Access Rule for Redirecting an Authenticated User to the Desired Web Page

At this point, a user would still be directed to the ticketing login page even after a successful authentication. In order to pass the user to the desired web page, an access rule must be placed prior to the access rule in Step 3. This access rule passes users to the Internet if they are part of the set of All Authenticated Users. Consequently, the access rule in Step 3 will be evaluated only if the user is not logged in as an authenticated user.

  1. Go to CONFIGURATION > Configuration Tree > Box >Virtual Servers > your virtual server > Assigned Services > Firewall > Forwarding Rules.
  2. Click Lock.
  3. Create a PASS access rule:
    • Action  Select PASS.
    • Name – E.g., GUEST-2-INTERNET.
    • Source – Select the source network(s). E.g., GuestAccess-Lan.
    • Service – Select HTTP+S (or any other service that will be granted to the user).
    • Destination – Select the destination. E.g., Internet.
    • Connection Method  Enter Dynamic NAT.
    • Authenticated User – Select All Authenticated Users
  4. Click OK.
    guest_to_internet.png
  5. Place the access rule prior to the access rule from Step 3.
    rule_order_guest_to_internet.png
  6. Click Send Changes and Activate.

Unauthorized users accessing the Internet or restricted network resources from the source network are redirected to the user ticketing login page. After entering the ticketing user and password, they are automatically forwarded to the website they originally wanted to visit. A TKT- user is created and valid for 20 minutes until you need to reauthenticate. Open the Firewall > Users page to see the authenticated users.

GuestAccess05.png

Next Steps

For more information on how to create guest user tickets and use them to login, see How to Manage Guest Tickets - User's Guide.

Last updated on