From c42e7a8b9230005bd090164686dbb5a424cc152c Mon Sep 17 00:00:00 2001 From: ppom <> Date: Fri, 5 May 2023 10:06:34 +0200 Subject: [PATCH] update readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e2445da..524b793 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,8 @@ ExecStart=/path/to/reaction -c /etc/reaction.yml ExecStartPre=/path/to/iptables -w -N reaction ExecStartPre=/path/to/iptables -w -A reaction -j ACCEPT +ExecStartPre=/path/to/iptables -w -I reaction 1 -s 127.0.0.1 -j ACCEPT +ExecStartPre=/path/to/iptables -w -I reaction 1 -s ::1 -j ACCEPT ExecStartPre=/path/to/iptables -w -I INPUT -p all -j reaction ExecStopPost=/path/to/iptables -w -D INPUT -p all -j reaction @@ -69,7 +71,7 @@ See [reaction.service](./config/reaction.service) and [reaction.yml](./config/re ### database -the working directory of `reaction` will be used to create and read from the embedded [lmdb](https://www.symas.com/lmdb) database. +the working directory of `reaction` will be used to create and read from the embedded database. if you don't know where to start it, `/var/lib/reaction` should be a sane choice. ### terminology