From 1b58612ebc6cea7412589675f3ecec71052e31c7 Mon Sep 17 00:00:00 2001 From: Fred Posner Date: Fri, 15 Oct 2021 09:58:05 -0400 Subject: [PATCH] add simple install --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9e34fe8..e659446 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,19 @@ Very simple API for managing local iptables chain: `APIBANLOCAL` Simple `GET` actions of add, remove, and flush (see [API usage](#API-usage) for more). +## Super Lazy Install + +`curl -sSL https://raw.githubusercontent.com/palner/iptables-api/main/install_iptables-api.sh | bash` + +(or for a Pi) + +`curl -sSL https://raw.githubusercontent.com/palner/iptables-api/main/install_iptables-api-pi.sh | bash` + ## Usage `./iptables-api` -Defaults: +### Default Settings * port: `8082` * log: `/var/log/iptables-api.log`