Update ReadMe.md
This commit is contained in:
parent
589a27f125
commit
630540381b
@ -5,6 +5,8 @@
|
|||||||
### Install
|
### Install
|
||||||
* ```cd /opt```
|
* ```cd /opt```
|
||||||
* ```git clone https://git.poster.place/verita84/firewall```
|
* ```git clone https://git.poster.place/verita84/firewall```
|
||||||
|
* ```cp firewall.service /etc/systemd/system```
|
||||||
|
* ```systemctl enable --now firewall```
|
||||||
|
|
||||||
### Configure Redis Schema
|
### Configure Redis Schema
|
||||||
```bash firewall.sh import-db```
|
```bash firewall.sh import-db```
|
||||||
@ -13,10 +15,6 @@
|
|||||||
* Edit the ```portConfig``` variables to allow ports
|
* Edit the ```portConfig``` variables to allow ports
|
||||||
* Modify ```NGINX_ACCESS``` to point to your NGINX config file
|
* Modify ```NGINX_ACCESS``` to point to your NGINX config file
|
||||||
|
|
||||||
### Enable SystemD
|
|
||||||
* ```cp firewall.service /etc/systemd/system```
|
|
||||||
* ```systemctl enable --now firewall```
|
|
||||||
|
|
||||||
### Add Detection by the Minute via Cron
|
### Add Detection by the Minute via Cron
|
||||||
```
|
```
|
||||||
*/1 * * * * bash /opt/firewall/firewall.sh attacker-protection
|
*/1 * * * * bash /opt/firewall/firewall.sh attacker-protection
|
||||||
|
Loading…
Reference in New Issue
Block a user