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)
/
How to Configure TS Agent Authentication
Published Jan 09

How to Configure TS Agent Authentication

Jan 09, 2026
Subscribe

The Barracuda TS Agent is the connector between various Barracuda Networks products and Microsoft Terminal Servers to transparently monitor user authentication. Because the source IP address for all users on the terminal server is the same, the Barracuda TS Agent assigns each user a specific port range and sends this mapping information to the firewall. The firewall can now check the source port of a TCP or UDP packet from the Terminal Server and, with the port-user information from the TS Agent, determine the username and group context. Connections with the Barracuda TS Agent are SSL encrypted. Mapping information for users is sent only after connections are established. The Barracuda TS Agent also writes a debug log that helps you monitor your Terminal Server and identify possible problems. You can use SSL client certificates to authenticate the remote TS Agent on the Terminal Server. If no SSL certificates are configured, all incoming SSL connections from the server are allowed. TS Agent authentication with automatic port mapping does NOT work for SMB sessions on TCP port 445 and 139. Depending on the firewall size, you may have to balance Terminal Server Agents (250 or more) to multiple firewalls.

Before You Begin

 

  • Install the Barracuda TS Agent on the Microsoft Terminal Server(s). For instructions, see How to Set Up the Barracuda Terminal Server Agent.

  • (Optional) Create SSL client certificates.

  • Verify that the Host Firewall rule BOX-AUTH-TSAGENT-SYNC-IN (TCP Port 5050) is present in the Host Firewall Inbound rule list (CONFIGURATION > Configuration Tree > Box > Infrastructure Services > Host Firewall Rules). You can find the default Host Firewall rules here: Default Host Firewall Rules.

Configure TS Agent Authentication

On the Barracuda CloudGen Firewall, enable and configure connections with the Barracuda TS Agent.

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

  2. In the left menu, select TS Agent Authentication.

  3. Click Lock.

  4. Set Activate Scheme to Yes.

  5. Enter Auto Logout After [d] to automatically log out users after a certain number of days.

  6. (optional) In the TS Agent Certificates section, click +. The TS Agent Certificates window opens.

    1. Enter the Subject Alternative Name of the SSL client certificate.

    2. Upload the SSL client certificate and click OK.

  7. (optional) Set Strip Domain Name to Yes. E.g., MYDOMAIN\myuser will become myuser.

  8. In the TS Agent IP Addresses section, add the IP addresses for the Microsoft Terminal Server the TS Agent is running on.

  9. Click Send Changes and Activate.   


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.

🔍 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
    • How to Configure MSAD Authentication
    • How to Configure MS-CHAP Authentication
    • How to Configure AD FS/SAML Authentication
    • How to Configure LDAP Authentication
    • How to Configure Multi-Factor Authentication Using Time-based One-time Password (TOTP)
    • How to Configure TACACS+ Authentication
    • How to Configure RSA-ACE SecurID Authentication
    • How to Configure MSNT Authentication
    • How to Configure Web Security Gateway Authentication
    • How to Configure Wi-Fi AP Authentication
    • How to Configure Kerberos Authentication
    • How to Configure Explicit Groups
    • How to Configure NGF Local Authentication
    • How to Configure MSAD DC Client Authentication
    • How to Configure TS Agent Authentication
    • How to Configure OCSP Validation
    • How to Configure Additional Authentication Schemes
    • How to Configure Authentication Service Timeouts and Logging
    • How to Configure MSAD Authentication Against Microsoft Entra ID
    • How to Redirect Authentication from a CloudGen Firewall to a Specific Authentication Server
    • How to Configure Multi-Factor Authentication Using YubiKey
    • How to Configure RADIUS 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.
    {"serverDuration": 11, "requestCorrelationId": "e9e3b868ad9f4f89ae49d34c5d13b0d6"}