Added logging

This commit is contained in:
Menno van Leeuwen 2023-04-21 12:13:16 +02:00
parent a571d64298
commit 4231ae903e
No known key found for this signature in database
GPG Key ID: 1E42C7BFE8FAA26B

View File

@ -13,6 +13,7 @@ if [ "$WHITELIST_ENABLED" = "true" ]; then
for ip in "${allowed_ips[@]}"
do
ufw allow from "$ip" to any port 26000 proto udp
echo "Allowed IP: $ip"
done
ufw --force enable