summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorAdam Lawson <dev@goshawk22.uk>2022-06-28 12:52:45 +0100
committerAdam Lawson <dev@goshawk22.uk>2022-06-28 12:52:45 +0100
commita5b9cef883cd59cbea79859d627a7fd483d57e9e (patch)
tree50b0c4d39022d01951a3b5e26dfa61c02a0a2e5b /content
parent485868879f11292bde460c55f9c04a48bd13f4f3 (diff)
searxng: Fix iptables
Fixes #190 thanks to @LencoDigitexer
Diffstat (limited to 'content')
-rw-r--r--content/searxng.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/searxng.md b/content/searxng.md
index 1770163..7e0c570 100644
--- a/content/searxng.md
+++ b/content/searxng.md
@@ -31,8 +31,8 @@ apt install git nginx -y
Open http and https ports.
```sh
-iptables -I INPUT 6 -m state --state NEW -p tcp --dport 80 -j ACCEPT
-iptables -I INPUT 6 -m state --state NEW -p tcp --dport 443 -j ACCEPT
+iptables -I INPUT -m state --state NEW -p tcp --dport 80 -j ACCEPT
+iptables -I INPUT -m state --state NEW -p tcp --dport 443 -j ACCEPT
netfilter-persistent save
ufw allow 80
ufw allow 443