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