From 42366c804d183035b13f9d56b12dc3a720d9fb1a Mon Sep 17 00:00:00 2001 From: VC Date: Tue, 8 Jul 2025 21:19:56 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=82:=20put=20MQTT=20from=20OpenEVSE=20?= =?UTF-8?q?to=20Home=20Assistant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/firewall/templates/firewall.j2 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/firewall/templates/firewall.j2 b/roles/firewall/templates/firewall.j2 index d86a0e8..616dcd0 100644 --- a/roles/firewall/templates/firewall.j2 +++ b/roles/firewall/templates/firewall.j2 @@ -515,12 +515,12 @@ config rule # Allow Home Assitant to OpenEVSE config rule option name 'Allow-FORWARD-Home-Assistant-OpenEVSE' - option src 'dmz' - option src_ip '{{ lookup('dig', 'ha.mateu.be') }}' + option src 'iot' + option src_ip '{{ lookup('dig', 'evse.mateu.be') }}' list proto 'tcp' - option dest 'iot' - option dest_ip '{{ lookup('dig', 'evse.mateu.be') }}' - option dest_port '80' + option dest 'dmz' + option dest_ip '{{ lookup('dig', 'ha.mateu.be') }}' + option dest_port '1883' option target 'ACCEPT' option family 'ipv4'