Added logging
This commit is contained in:
parent
a571d64298
commit
4231ae903e
@ -13,6 +13,7 @@ if [ "$WHITELIST_ENABLED" = "true" ]; then
|
|||||||
for ip in "${allowed_ips[@]}"
|
for ip in "${allowed_ips[@]}"
|
||||||
do
|
do
|
||||||
ufw allow from "$ip" to any port 26000 proto udp
|
ufw allow from "$ip" to any port 26000 proto udp
|
||||||
|
echo "Allowed IP: $ip"
|
||||||
done
|
done
|
||||||
|
|
||||||
ufw --force enable
|
ufw --force enable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user