mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
- Before this change, when bind is disabled, dns port is removed from firewall causing all 'shared' connection to not be able to resolve domains. This was because no other application was declaring a need for 'dns' port to be kept open. Declare a firewall component in the networks app needing 'dns' and 'dhcp' services on the internal networks. Tests: - Without the patch, install and disable bind. 'dns' port is removed from 'internal' zone of the firewall. - Install and disable bind. 'dns' port is not removed from 'internal' zone of the firewall. - On a fresh Debian machine. Install the freedombox package. 'http', 'https', 'dns' and 'dhcp' port are opened on the firewall as expected. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>