Browse Source

add simple install

test-string
Fred Posner 4 years ago
parent
commit
1b58612ebc
No known key found for this signature in database GPG Key ID: ABAD515F42AE1A40
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      README.md

+ 9
- 1
README.md View File

@ -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`


Loading…
Cancel
Save