migrate firewall configuration into database
the ports.json is for the moment server specific
This commit is contained in:
@@ -16,7 +16,7 @@ fi
|
||||
|
||||
ipset flush cloudron_blocklist
|
||||
|
||||
user_firewall_json="/home/yellowtent/boxdata/firewall/blocklist.txt"
|
||||
user_firewall_json="/home/yellowtent/platformdata/firewall/blocklist.txt"
|
||||
|
||||
if [[ -f "${user_firewall_json}" ]]; then
|
||||
# without the -n block, any last line without a new line won't be read it!
|
||||
|
||||
Reference in New Issue
Block a user