Iptables fix for Docker on Synology

Using a Reverseproxy, or something like pihole, you might have run into the issue of not seeing the correct IPs in the log files. This is annoying if you want to use something like fail2ban for example. Add the script to the task scheduler, or save it as script that you execute via task scheduler on your Syno. To remove it, just remove the script and reboot your Syno. #!/bin/bash currentAttempt=0 totalAttempts=10 delay=15 while [ $currentAttempt -lt $totalAttempts ] do currentAttempt=$(( $currentAttempt + 1 )) echo "Attempt $currentAttempt of $totalAttempts....

June 23, 2023 · Gabe