Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
toralf committed Jul 12, 2024
1 parent 04adaad commit 8c11825
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,17 @@ Otherwise run the script with the parameter `start` instead of `test`.
sudo ./ipv4-rules.sh start
```

and create the following 2 cron jobs (via `crontab -e`):
and create cron jobs (via `crontab -e`) like these:

```cron
# DDoS prevention
@reboot /root/ipv4-rules.sh start; /root/ipv6-rules.sh start
# keep ips during reboot
@hourly /root/ipv4-rules.sh save; /root/ipv6-rules.sh save
# update Tor authorities
@daily /root/ipv4-rules.sh update; /root/ipv6-rules.sh update
```

That's all.
Expand Down

0 comments on commit 8c11825

Please sign in to comment.