Update 0.1.9.md

This commit is contained in:
Stefan Pejcic 2024-05-26 06:38:09 +02:00 committed by GitHub
parent 33c5ef4c3c
commit 00fb5f77dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -62,23 +62,23 @@ New opencli commands are also available:
```
- Update all ipsets rules and reload UFW service:
```bash
bash /usr/ipset-blacklist.sh --update_ufw
opencli blacklist --update_ufw
```
- Add a new blacklist:
```bash
bash /usr/ipset-blacklist.sh --add-blacklist name=<name> url=<url>
opencli blacklist --add-blacklist name=<name> url=<url>
```
- Enable a blacklist:
```bash
bash /usr/ipset-blacklist.sh --enable-blacklist=<name>
opencli blacklist --enable-blacklist=<name>
```
- Disable a blacklist:
```bash
bash /usr/ipset-blacklist.sh --disable-blacklist=<name>
opencli blacklist --disable-blacklist=<name>
```
- Delete a blacklist:
```bash
bash /usr/ipset-blacklist.sh --delete-blacklist=<name>
opencli blacklist --delete-blacklist=<name>
```
### opencli faq