Posts by Thormir84

    Allora, tieni presente che il raid1 serve per questione di "high availability", nel senso che se ti si rompe un disco, subentra l'altro che contiene una copia 1:1 di ogni cosa, senza che il sistema vada offline.

    Ovviamente, se prendi un virus o cancelli roba per sbaglio, la perdi istantaneamente su entrambi i dischi; per evitare queste situazioni, è consigliabile avere un ulteriore disco o raid (se possibile) sul quale confluisca il backup del raid principale.


    Per quanto riguarda il backup delle foto dei cellulari, conviene installare Docker e il container di Immich (con relativa app per Android e iOS), che è un bomba.

    Home | Immich
    immich Self-hosted photo and video backup solution directly from your mobile phone
    immich.app

    If you need to create a certificate for a container with MACVLAN, you need (for the first request but not for renew) to redirect port 81 (i don't know why, but it works).


    I don't know if this works for your problem with port 80, but you can try.


    IMPORTANT: Close port 81 immediately after the test, or your NPM will be public accessible.

    Use Tailscale inside Docker



    Go to https://login.tailscale.com/

    Create an account.

    Go to "Settings" -> "Key" (under "Personal Settings", bottom left)
    Generate Auth Key (for AUTHKEY in the stack).
    Install the Tailscale's client for your system (Linux, Windows, MacOS, Android).

    I did some tests on different OMV installations (I have 6 in all).


    The correct procedure to install Veeam is:


    1. Download the veeam-release file from the site (Veeam Software for Enterprise) and copy it to the root folder


    2. Launch, from the terminal, the command dpkg -i ./veeam-release* && apt-get update


    3. Launch the command apt install veeam blksnap


    On all the machines tested, the installation was always successful, as well as the backups

    Thormir84 have you already successful restored with veeam?

    When yes have you a quick how to?


    I tried it with dd fsarchiv but my restore never worked.

    Yes, once for a breakdown and a couple of times for a disc change.



    To install the agent you need to go here: Connecting to Veeam Software Repository - Veeam Agent for Linux User Guide


    Once the installation is finished, from the terminal, launch the "veeam" command and set the scheduled backup

    Wait a moment:


    Quote


    set the upstream DNS Server of my Pihole to 192.168.XXX.1 (Pihole >> Settings >> DNS >> Upstream DNS Servers)


    AND:



    BUT:


    Quote


    Yes, all this devices uses 192.168.178.50 as DNS. And I can access 192.168.178.50/admin (Pihole).


    So, Pihole is your DNS server; Pihole itself use your router as DNS server but your router uses Pihole as DNS server. :/

    Who resolve who?

    This is my compose, that works fine:



    On your router you need to open ports like this example:



    PORT FORWARD:


    Public port: 80

    Forward to: 8980


    Public port: 443

    Forward to: 8943


    ----


    Inside NPM:


    Proxy Hosts

    Add Proxy Host

    Domain name: subdomain.yourdomain.xyz

    Scheme: http

    Forward Hostname / IP: Ip of your container

    Forward Port: Port of your container

    Block Common Exploits: ON

    Access List: Publicy Accessible


    ----


    SSL

    Select "Request a new SSL certificate

    Force SSL: ON


    Click on save, then select "edit" on your new subdomain and check if SSL is "ON"; if not, activate it then save.


    Done.

    8)


    This solution worked to have communication between host and macvlan, but it doesn't work when connected over the wireguard VPN. The wireguard interface "wgnet1" has a different subnet Ex. 10.196.1.254/24. I wonder if any routes need to be set for the traffic to reach from the wireguard VPN network to the macvlan IP.

    Probably you need to try Wireguard on Docker.


    I also use Tailscale (on Docker) that works fine.