Update 0.1.9.md

This commit is contained in:
Stefan Pejcic
2024-08-01 07:42:36 +02:00
committed by GitHub
parent 7aaf45edb2
commit 6a54f75622

View File

@@ -99,18 +99,6 @@ To enable this feature simply navigate to OpenAdmin > Firewall and click on the
![screenshot of ipset cloudflare feature](https://i.postimg.cc/Z5dMnKSW-/image.png)
Or from terminal:
- Enable Cloudflare restrictions:
```bash
opencli cloudflare --enable
```
- Disable Cloudflare restrictions:
```bash
opencli cloudflare --disable
```
This feature will regularly update Cloudflare ip addresses to make sure new CF IP ranges are included.
### IPset Blacklists
@@ -138,33 +126,6 @@ Default blacklists:
Administrators can add additional blacklists.
New opencli commands are also available:
- Download new IP addresses for all enabled blocklists:
```bash
opencli blacklist --fetch
```
- Update all ipsets rules and reload UFW service:
```bash
opencli blacklist --update_ufw
```
- Add a new blacklist:
```bash
opencli blacklist --add-blacklist name=<name> url=<url>
```
- Enable a blacklist:
```bash
opencli blacklist --enable-blacklist=<name>
```
- Disable a blacklist:
```bash
opencli blacklist --disable-blacklist=<name>
```
- Delete a blacklist:
```bash
opencli blacklist --delete-blacklist=<name>
```
### opencli faq
OpenCLI now has a new command `opencli faq` to display most frequently asked questions: