main #1

Merged
solene merged 9 commits from prx/iblock:main into main 2022-08-22 14:02:24 +00:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit ff5ff21ca5 - Show all commits

View File

@ -39,6 +39,8 @@ In this example, the parameter `blocklist` will add IPs to the `blocklist` PF ta
666 stream tcp6 nowait _iblock /usr/local/bin/iblock iblock blocklist
```
Default is "iblocked" table.
## Configure packet filter
Use this in `/etc/pf.conf`, choose which ports will trigger the ban from the variable:
@ -65,5 +67,4 @@ In the example I added a label to the block rule, you can use `pfctl -s labels`
# TODO
- make install doing something
- A proper man page