Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/linzeyan/block

Block IP manual or from Nginx logs.
https://github.com/linzeyan/block

iptables nginx

Last synced: 7 days ago
JSON representation

Block IP manual or from Nginx logs.

Awesome Lists containing this project

README

        

# block

## usage

```
Block IP by iptables

Usage: block [option]

Options:
-a string
Specify insert/append/delete/clear/list rule (default "insert")
-f string
Specify log file
-ip string
Specify IP or CIDRs
-limit int
Limit requests per minute (default 100)
-o string
Specify Block in/out bound traffic or log (default "in")
```