mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update 0.1.9.md
This commit is contained in:
@@ -99,18 +99,6 @@ To enable this feature simply navigate to OpenAdmin > Firewall and click on the
|
||||
|
||||

|
||||
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user