Category: Automation

  • GnuDIP

    GnuDIP

    GnuDIP2 can be used to update your ip address. The following configuration is going to be tailored to manage the free ddns service provided in ddns.freedombox.org or compatible ddns services. Before starting you need to already have a gnudip account and install the curl package (sudo apt install curl). Download the latest version of GnuDIP…

  • cron jobs cheat sheet

    cron jobs cheat sheet

    Cron Job Overview Cron jobs are scheduled tasks that run at fixed times, dates, or intervals on a Unix-based system. The cron daemon (crond) handles these tasks, which are specified in a file called the crontab. Basic Cron Syntax Cron jobs are scheduled in the crontab file with this format: * * * * *…

  • Ansible and system updates

    Ansible and system updates

    Setup passwordless authentication with the servers you want to manage This is useful if you want to automate processes via ssh without intervening by having to input the password to the remote server. Setup passwordless sudo commands In the server you want to manage with ansible, you’ll have to allow the sudo user to execute…

  • Haproxy.cfg configuration for acme challenge – openwrt

    Haproxy.cfg configuration for acme challenge – openwrt

    Updated configuration file for haproxy in openwrt. The acme-challenge was improved by having dedicated acls for each webserver containing a list of their own domains to redirect certbot traffic to another dedicated backend where those domains get their ssl certificates. Normal https traffic is redirected to individual backends. Explanation of Configuration:

  • haproxy – Reverse proxy ssl pass-through (OSI 4) – OpenWRT

    haproxy – Reverse proxy ssl pass-through (OSI 4) – OpenWRT

    Useful haproxy.cfg file for your reverse proxy needs with some added security. In frontend stats you need to change the default username:password to securely access (locally) the statistics webui at port 9000 or any other port you choose. This configuration is great if you have multiple domains behind a router and was built for openwrt…