Required Ports
The following ports must be accessible on your UTMStack server:Port 22/TCP - Secure Shell (SSH)
Purpose: Remote administration and secure shell access Firewall Recommendation:Port 80/TCP - HTTP Redirector
Purpose: UTMStack Web-based Graphical User Interface Redirector (redirects to HTTPS) Firewall Recommendation:Port 443/TCP - HTTPS
Purpose: UTMStack Web-based Graphical User Interface Firewall Recommendation:Port 9090/TCP - Cockpit
Purpose: Cockpit Web-based Graphical Interface for Servers Firewall Recommendation:Additional Integration Ports
Purpose: Log collection from various integrations and data sourcesOther ports will be required during the configuration of UTMStack’s integrations to receive logs. Please follow the security recommendations given in the integration guide if one exists.
- Syslog receivers
- Agent communications
- API integrations
- Custom data sources
Firewall Configuration
Using UFW (Uncomplicated Firewall)
Ubuntu 22.04 LTS includes UFW for simplified firewall management.Using iptables
For advanced firewall configurations, you can use iptables directly:Security Best Practices
Network Segmentation
- Deploy UTMStack in a dedicated management network segment
- Use VLANs to separate management and data collection traffic
- Implement network access controls between segments
Access Control Lists
Document Authorized Networks
Maintain a list of authorized IP ranges:
- Admin workstations
- Analyst workstations
- Data source networks
- Integration endpoints
Implement Least Privilege
Only allow access from networks that require it:
- Limit SSH to admin workstations
- Limit web interface to admin and analyst workstations
- Restrict Cockpit to admin workstations only
Additional Security Measures
- Fail2ban: UTMStack includes fail2ban mechanisms to protect against brute-force attacks
- Two-Factor Authentication: Enable 2FA for all user accounts
- Strong Authentication: Connections use +24 character unique keys
- Service Isolation: UTMStack services are isolated by containers and microservices
Testing Connectivity
From Admin Workstation
Test connectivity to required ports:From Data Sources
Ensure data sources can reach the UTMStack server on required integration ports:Troubleshooting
Connection Refused
If you cannot connect to a service:- Verify the service is running on the UTMStack server
- Check firewall rules allow traffic from your source IP
- Verify no intermediate firewalls are blocking traffic
- Check network routing and connectivity
Viewing Firewall Logs
Monitor firewall activity:Next Steps
After configuring firewall rules:- Test access from authorized workstations
- Configure network settings if not already done
- Set up integrations and data sources
- Monitor firewall logs for unauthorized access attempts