]> git.ipfire.org Git - people/ummeegge/ipfire-2.x.git/commit
Firewall initscript: Restore Tor IPTable rules by manual firewall restart preserve_tor_rules
authorErik Kapfer <erik.kapfer@ipfire.org>
Tue, 16 Jan 2024 14:54:10 +0000 (15:54 +0100)
committerErik Kapfer <erik.kapfer@ipfire.org>
Tue, 16 Jan 2024 15:21:17 +0000 (16:21 +0100)
commitc55a65e47d095b4bbe76842bf6d9bfeef700d185
tree72dd06899c199d6b5a5d99b22f1c8fec7a494d39
parentd2e2c945a9cb7e3c5f0aa5db81ff95afdfbff81c
Firewall initscript: Restore Tor IPTable rules by manual firewall restart

If the firewall will be manually restart via '/etc/init.d/firewall restart',
the IPTable rules for the Tor relay will be deleted since 'iptables_init' only
flushes and creates inbound and unbound chains for Tor but does not restore the
ruleset from Tor initscript.

For reference and tests please see -->
https://community.ipfire.org/t/tor-stop-working-without-stop-the-process-or-give-an-error-message/10697

Signed-off-by: Erik Kapfer <erik.kapfer@ipfire.org>
src/initscripts/system/firewall