From a5b9cef883cd59cbea79859d627a7fd483d57e9e Mon Sep 17 00:00:00 2001 From: Adam Lawson Date: Tue, 28 Jun 2022 12:52:45 +0100 Subject: searxng: Fix iptables Fixes #190 thanks to @LencoDigitexer --- content/searxng.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content/searxng.md') 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 -- cgit v1.2.3