aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2019-12-24 21:21:13 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2020-01-17 18:26:05 +0200
commit408d036cf9a26ec8a419a358c3e96df9dabfc082 (patch)
treeb23af1365f9f20c8aef3eda2479a7f5a0b4df8cc /README.md
parentc81d6fc2ce59212a4cdee9244417dd86a15e8844 (diff)
downloadawall-408d036cf9a26ec8a419a358c3e96df9dabfc082.tar.bz2
awall-408d036cf9a26ec8a419a358c3e96df9dabfc082.tar.xz
support co-existence with other firewall management tools
Diffstat (limited to 'README.md')
-rw-r--r--README.md21
1 files changed, 19 insertions, 2 deletions
diff --git a/README.md b/README.md
index 38d2012..44becd6 100644
--- a/README.md
+++ b/README.md
@@ -631,6 +631,17 @@ customized chain, using the **custom:** prefix. It is also possible to
constrain each rule to IPv4 or IPv6 only by defining the **family**
attribute as **inet** or **inet6**, respectively.
+## <a name="dedicated">Co-Existence with Other Firewall Management Tools
+
+If awall is used on a host running other software that manipulates
+iptables rules, it is recommended to set the
+**awall_dedicated_chains** variable to **true**, which will have the
+following effects:
+
+* Awall installs its own rules to dedicated chains prefixed with
+ **awall-**.
+* Activation of awall rules leaves any unrelated rule intact.
+
## Command Line Syntax
### Translating Policy Files to Firewall Configuration Files
@@ -656,9 +667,15 @@ the Return key within 10 seconds or the `--force` option is used, the
configuration is saved to the files. Otherwise, the old configuration
is restored.
- **awall flush**
+ **awall flush** \[**-a** | **--all**\]
+
+Normally, this command deletes all firewall rules and configures it to
+drop all packets.
-This command configures the firewall to drop all packets.
+If awall is configured to [co-exist with other firewall management
+tools](#dedicated), this command flushes only the rules installed by
+awall. Specifying `--all` overrides this behavior and causes all rules
+to be flushed.
### Optional Policies