r/unifi: Open firewall port for syslog server

The Unifi Network controller runs a syslog server (listening on UDP port
5514) where Unifi devices can send their logs.  We need to open the port
in the firewall in order for it to receive log messages and write them
to disk.
unifi-restore
Dustin 2025-03-29 09:27:28 -05:00
parent 00acc54402
commit 923c8a3ebc
1 changed files with 10 additions and 0 deletions

View File

@ -30,6 +30,16 @@
tags: tags:
- firewalld - firewalld
- name: ensure firewall is configured for unifi syslog
firewalld:
port: 5514/udp
permanent: true
immediate: true
state: enabled
when: host_uses_firewalld|d(true)|bool
tags:
- firewalld
- name: ensure caddy is configured to proxy for unifi - name: ensure caddy is configured to proxy for unifi
template: template:
src: unifi.caddyfile.j2 src: unifi.caddyfile.j2