Update 0.1.9.md
This commit is contained in:
parent
33c5ef4c3c
commit
00fb5f77dc
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue