Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
userdoc:tt_firewall_external_block_list [2019/08/19 08:37] abelbeck [Updating *.netset Blocklists] |
userdoc:tt_firewall_external_block_list [2021/10/15 14:46] abelbeck [Updating *.netset Blocklists] |
||
---|---|---|---|
Line 8: | Line 8: | ||
!!Note: AstLinux 1.2.8 or later is required!! | !!Note: AstLinux 1.2.8 or later is required!! | ||
+ | |||
+ | !!Note: AstLinux 1.3.7!! updated '' | ||
+ | |||
+ | !!Note: AstLinux 1.4.4!! updated '' | ||
===== Enable *.netset Blocklists ===== | ===== Enable *.netset Blocklists ===== | ||
Line 29: | Line 33: | ||
Cron may be used to run this script once or twice every day, for example: | Cron may be used to run this script once or twice every day, for example: | ||
- | 15 05,15 * * * reload-blocklist-netset / | + | 15 05,15 * * * reload-blocklist-netset / |
!!Important ->!! Do not use the cron time schedule as above, make changes so the servers are not hit at the same time. | !!Important ->!! Do not use the cron time schedule as above, make changes so the servers are not hit at the same time. | ||
- | In this example, a ''/ | + | In this example, a ''/ |
!!Tip ->!! You must manually create the ''/ | !!Tip ->!! You must manually create the ''/ | ||
Line 41: | Line 45: | ||
arno-iptables-firewall force-reload | arno-iptables-firewall force-reload | ||
+ | \\ | ||
+ | !!Note: AstLinux 1.3.7 or later!! adds support for new netsets: '' | ||
+ | |||
+ | '' | ||
+ | '' | ||
+ | '' | ||
+ | |||
+ | !!Tip ->!! The '' | ||
+ | |||
+ | For example, you can create you own '' | ||
+ | |||
+ | # ' | ||
+ | BLOCKLIST_CUSTOM_URLS=" | ||
+ | https:// | ||
+ | https:// | ||
+ | " | ||
+ | |||
+ | !!Warning ->!! Don't miss the closing double-quote. | ||
+ | |||
+ | This variable can be added directly into the ''/ | ||
+ | |||
+ | In order to apply '' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Or use the CLI command: | ||
+ | |||
+ | gen-rc-conf | ||
+ | |||
+ | \\ | ||
+ | !!Note: AstLinux 1.4.4 or later!! adds support for a new netset: '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | After receiving your API Key via email, copy it to a newly created ''/ | ||
+ | \\ | ||
===== File format for *.netset Files ===== | ===== File format for *.netset Files ===== | ||
Line 71: | Line 111: | ||
- | The " | + | The " |
[[http:// | [[http:// | ||