diff options
| author | Adam Lawson <dev@goshawk22.uk> | 2022-06-28 12:52:45 +0100 |
|---|---|---|
| committer | Adam Lawson <dev@goshawk22.uk> | 2022-06-28 12:52:45 +0100 |
| commit | a5b9cef883cd59cbea79859d627a7fd483d57e9e (patch) | |
| tree | 50b0c4d39022d01951a3b5e26dfa61c02a0a2e5b /content/searxng.md | |
| parent | 485868879f11292bde460c55f9c04a48bd13f4f3 (diff) | |
searxng: Fix iptables
Fixes #190 thanks to @LencoDigitexer
Diffstat (limited to 'content/searxng.md')
| -rw-r--r-- | content/searxng.md | 4 |
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 |
