Integrating Ubiquiti UniFi Cloud Gateway
In order to set up the Ubiquiti UniFi Cloud Gateway Collector, you need to follow the procedures below:
Enable Ubiquiti UniFi Cloud Gateway
Install the XDR Collector
Configure Ubiquiti UniFi Cloud Gateway
Open the ports on the XDR Collector Host
To enable Ubiquiti UniFi Cloud Gateway
In Barracuda XDR Dashboard, navigate to Administration > Integrations.
On the Ubiquiti UniFi Cloud Gateway card, click Setup.
Select the Enabled check box.
If the default UDP port set in the Integration can’t be forwarded because it is already in use, type a different UDP port number.
Click Save.
To install the XDR Collector
If you haven't already set up the XDR Collector, do one of the following:
To configure Ubiquiti UniFi Cloud Gateway
Barracuda Managed XDR can monitor syslog-formatted messages from Ubiquiti UniFi Cloud Gateway, if this is configured to forward the messages to the appropriate XDR Agents.
Sign in to the UniFi controller web interface.
NOTE Your UniFi controller web interface URL is the IP address of your controller.Click Settings > CyberSecure.
Click the Traffic Logging tab.
For Activity Logging (Syslog), select SIEM Server.
NOTE Do not Select Debug Logs or Netconsole.For Contents, click Edit.
Ensure that only these logs are selected:
Admin Activity
Critical
Devices
Security Detections
Triggers
VPN
Firewall Default Policy
Click Save.
In the Server Address field, type the IP address for the Barracuda Sensor.
In the Port field, type the number of the port you set in the integration step.
For Logging Levels, ensure that Auto is selected.
Click Apply changes.
To open the ports on the XDR Collector Host
If you have a firewall protecting your collector, ensure that it allows incoming traffic on the UDP port you’re using.
Here are some examples of how to do that on commonly used firewalls. You need to do this for the port configured for Ubiquiti.
Linux ufw
sudo ufw allow 9257/udp
Linux Iptables
sudo iptables -A INPUT -p udp --dport 9257 -j ACCEPT
Linux firewalld
sudo firewall-cmd --permanent --add-port=9257/udp
Windows
netsh advfirewall firewall add rule name="Ubiquiti UniFi" dir=in action=allow protocol=UDP localport=9257
Contact Us
Barracuda Campus
Barracuda Support