From kaskada at email.cz Tue Nov 23 20:23:41 2021 From: kaskada at email.cz (kaskada at email.cz) Date: Tue, 23 Nov 2021 21:23:41 +0100 (CET) Subject: Something like "stop script" for FireHOL to keep NAT active? Message-ID: <5Mw.aVKQ.2rZgQmEv0ar.1XdKtD@seznam.cz> Hello forum, I`m using FireHOL for 15 years, or something. Thank you for what you are doing... Now I`m using FireHOL ver. "firehol-3.1.7.tar.bz2". I`m wandering if it is possible to have/setup/write a stop script which would run after "firehol stop" command. Normally "firehol stop" clears al the rules, tables, ... which makes sense. But I`m running FireHOL on a 10Gbps and faster Linux routers with NAT (SNAT, DNAT and masquerade). And there is a problem, when I need to stop the firewall to debug the rules, the traffic for all users who are behind NAT is interrupted. So I`d lke to have some script (or whatever other solution) which would keep NAT rules active even if fireHOL is stopped. Maybe the "stop script" would containd those NAT rules, so those will be reenabled right after "firehol stop" command. Is anything possible like that? Thank you a lot. Pep.