From e51fa5bd9134ed6e3f807e5fa48846f754305c7c Mon Sep 17 00:00:00 2001 From: VC Date: Mon, 21 Jul 2025 12:57:47 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5:=20remove=20Kodi=20from=20Home=20A?= =?UTF-8?q?ssistant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/firewall/templates/firewall.j2 | 20 +++++++++----------- roles/nsd/templates/zones/mateu.be.zone.j2 | 1 + 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/roles/firewall/templates/firewall.j2 b/roles/firewall/templates/firewall.j2 index 1df301a..710e3dc 100644 --- a/roles/firewall/templates/firewall.j2 +++ b/roles/firewall/templates/firewall.j2 @@ -524,17 +524,6 @@ config rule option target 'ACCEPT' option family 'ipv4' -config rule - option name 'Allow-FORWARD-Home-Assistant-Kodi' - option src 'dmz' - option src_ip '{{ lookup('dig', 'ha.mateu.be') }}' - list proto 'tcp' - option dest 'lan' - option dest_ip '{{ lookup('dig', 'libreelec.mateu.be') }}' - option dest_port '8080' - option target 'ACCEPT' - option family 'ipv4' - config rule option name 'Allow-FORWARD-Home-Assistant-RM4Pro' option src 'dmz' @@ -544,6 +533,15 @@ config rule option target 'ACCEPT' option family 'ipv4' +config rule + option name 'Allow-FORWARD-esp32cc-Home-Assistant' + option src 'dmz' + option src_ip '{{ lookup('dig', 'ha.mateu.be') }}' + option dest 'iot' + option dest_ip '{{ lookup('dig', 'esp32cc.mateu.be') }}' + option target 'ACCEPT' + option family 'ipv4' + ### IoT Rules ## General Rules # ICMP diff --git a/roles/nsd/templates/zones/mateu.be.zone.j2 b/roles/nsd/templates/zones/mateu.be.zone.j2 index 3b3d6ba..26181c6 100644 --- a/roles/nsd/templates/zones/mateu.be.zone.j2 +++ b/roles/nsd/templates/zones/mateu.be.zone.j2 @@ -30,6 +30,7 @@ baybay-ponay IN AAAA 2a01:e0a:9bd:2810:9e6b:ff:fe13:ef88 ciol IN A 109.190.68.133 derdriu IN A 10.233.212.77 enbarr.dmz IN AAAA 2a01:e0a:9bd:2811::50 +esp32cc IN A 10.233.211.201 evse IN A 10.233.211.198 fc IN A 10.233.211.194 frederica.dmz IN A {{ global_public_ip_address }}