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 need 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.
- Go to CONFIGURATION > Configuration Tree > Box > Infrastructure Services > Authentication Service.
- In the left menu, select TS Agent Authentication.
- Click Lock.
- Set Activate Scheme to Yes.
- Enter Auto Logout After [d] to automatically log out users after a certain number of days.
- (Optional) In the TS Agent Certificates section, click +. The TS Agent Certificates window opens.
- Enter the Subject Alternative Name of the SSL client certificate.
Upload the SSL client certificate and c lick OK .
- (Optional) Set Strip Domain Name to Yes. E.g., MYDOMAIN\myuser will become myuser.
- In the TS Agent IP Addresses section, add the IP addresses for the Microsoft Terminal Server the TS Agent is running on.
- Click Send Changes and Activate.