some (hopefully) useful scripts
due to a heavy re-write this is currently WIP and so not ready for productive use yet.
It is a tool for syncing debian mirrors to a local folder by APTLY. On top of that this can be used to add your local custom repos as well (once finished).
updates your UFW firewall with a host having no fixed IP but dynamic DNS
- create a dnydns name (dozens of free services avail)
- put that script on your server in a secure place (chmod 700, chown root)
- replace the variables in the script to match your needs
- set DEBUG=1 at the top of the script & run a test (should update UFW)
- still with DEBUG=1 test it directly again (should not update UFW)
- if all is working as expected: set DEBUG=0 again and add a cron job (see within the script comment)