From 34a1ed73eb3a1cd7ce49098baec2048ea969d805 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Mon, 1 May 2023 21:54:59 -0400 Subject: [PATCH] Update firewalls for new unifi controller address. --- ansible/environments/home/hosts | 2 +- ansible/roles/firewall/files/homeserver_pf.conf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible/environments/home/hosts b/ansible/environments/home/hosts index d1343eb..6fd0c33 100644 --- a/ansible/environments/home/hosts +++ b/ansible/environments/home/hosts @@ -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 diff --git a/ansible/roles/firewall/files/homeserver_pf.conf b/ansible/roles/firewall/files/homeserver_pf.conf index 75dd668..5e7b2f7 100644 --- a/ansible/roles/firewall/files/homeserver_pf.conf +++ b/ansible/roles/firewall/files/homeserver_pf.conf @@ -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