diff --git a/roles/firewall/templates/firewall.j2 b/roles/firewall/templates/firewall.j2 index c0b69cc..d86a0e8 100644 --- a/roles/firewall/templates/firewall.j2 +++ b/roles/firewall/templates/firewall.j2 @@ -524,6 +524,17 @@ 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.home.arpa') }}' + option dest_port '8080' + option target 'ACCEPT' + option family 'ipv4' + ### IoT Rules ## General Rules # ICMP