mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
- Closes #1592. - Use firewall service definition 'syncthing' already available. - Open externally also, helps in syncing with peers on the Internet. Open discovery port also externally and syncthing deal with the traffic. - Based on https://docs.syncthing.net/users/firewall.html Test: - Install version 2, syncthing firewall service is enabled in internal and external zones. - Disable app, syncthing firewall service is removed. Enable app, syncthing firewall service is added. - Install version 1, upgrade to version 2, syncthing firewall service is added. - Install version 1, disable syncthing, upgrade to version 2, syncthing firewall service is not added. Enable syncthing, firewall service is added. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>