Update firewalls for new unifi controller address.

This commit is contained in:
Tom Alexander 2023-05-01 21:54:59 -04:00
parent ad7fca700d
commit 34a1ed73eb
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 3 additions and 3 deletions

View File

@ -1,2 +1,2 @@
[headless]
homeserver ansible_user=talexander ansible_host=172.16.16.2
homeserver ansible_user=talexander ansible_host=10.216.1.1

View File

@ -26,8 +26,8 @@ rdr pass on $not_ext_if proto {tcp, udp} from any to 10.215.2.1 port 53 -> 1.1.1
rdr pass on $ext_if inet proto tcp from any to any port 8081 -> 10.215.2.2 port 8081
# Forward ports for unifi controller
rdr pass on $ext_if inet proto tcp from any to any port 65022 -> 10.213.177.8 port 22
rdr pass on $ext_if inet proto {udp, tcp} from any to any port $unifi_ports -> 10.213.177.8
# rdr pass on $ext_if inet proto tcp from any to any port 65022 -> 10.213.177.8 port 22
rdr pass on $ext_if inet proto {udp, tcp} from any to any port $unifi_ports -> 10.215.1.202
# filtering
block log all