Wireguard | Can't reach OMV

  • Hi all,


    once I've changed my laptop I'm not able to access OMV via wireguard (installed with docker). Nothing is changed in my configuration, and even with other PCs, from different network, I can't reach out the server. Below my actual configuration for peer1:



    and here my docker .yml:



    Does anyone could help please?


    Thanks!

    Mime

    omv 7.4.14-1 sandworm | 64 bit

    plugins :: omvextrasorg 7.0 | compose 7.2.16 | sharerootfs 7.0-1 | symlinks 7.0 | wetty 7.0-2

  • crashtest

    Approved the thread.
    • New
    • Official Post

    I haven't used the docker image. Why not use the wireguard plugin?

    omv 7.4.14-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.15 | compose 7.2.16 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Ciao ryecoaaron, thanks for reply.

    I was using docker since OMV 6. It gives me much control and I've never had any trouble until now.

    Even the user I set is dedicated and granted to docker, so I just can't understand what is happening now.


    Thanks,

    Mime

    omv 7.4.14-1 sandworm | 64 bit

    plugins :: omvextrasorg 7.0 | compose 7.2.16 | sharerootfs 7.0-1 | symlinks 7.0 | wetty 7.0-2

    • New
    • Official Post

    Maybe something with the image changed? Has the image been updated lately?

    omv 7.4.14-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.15 | compose 7.2.16 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I update docker images constantly, but nothing seems to be changed. As I posted .yml file is stored in my config folder, using compose instead of portainer to set configurations.

    omv 7.4.14-1 sandworm | 64 bit

    plugins :: omvextrasorg 7.0 | compose 7.2.16 | sharerootfs 7.0-1 | symlinks 7.0 | wetty 7.0-2

    • New
    • Official Post

    I don't see anything wrong with your config or compose file. Unless someone else here is using that image, I would recommend asking the linuxserver folks.

    omv 7.4.14-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.15 | compose 7.2.16 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Hi all,


    once I've changed my laptop I'm not able to access OMV via wireguard (installed with docker). Nothing is changed in my configuration, and even with other PCs, from different network, I can't reach out the server. Below my actual configuration for peer1:


    Code
    Endpoint = myomvhost.duckdns.org:51820

    In your keyfile I don't think the above entry is valid. It needs to be the IP of the VPN endpoint, not your public IP address.


    At least that's how it works for me here.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • Ciao gderf,


    if you set local IP you'll not be able to connect from remote.

    So I tried this way and it works when I'm in same local network, but from external network I can't reach OMV again.


    Thanks anyway!


    Mime

    omv 7.4.14-1 sandworm | 64 bit

    plugins :: omvextrasorg 7.0 | compose 7.2.16 | sharerootfs 7.0-1 | symlinks 7.0 | wetty 7.0-2

  • Get an appropriate keyfile from your VPN provider. Make changes to it at your own risk.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • Get an appropriate keyfile from your VPN provider. Make changes to it at your own risk.

    I'm not sure I've understood properly. I've installed wireguard in a docker container on OMV and set the client on my laptop. If you mean the private and public key I've hidden both in my first post... They are correct in my conf file.

    omv 7.4.14-1 sandworm | 64 bit

    plugins :: omvextrasorg 7.0 | compose 7.2.16 | sharerootfs 7.0-1 | symlinks 7.0 | wetty 7.0-2

  • I'm not sure I've understood properly. I've installed wireguard in a docker container on OMV and set the client on my laptop. If you mean the private and public key I've hidden both in my first post... They are correct in my conf file.

    No, I do not mean the public and private keys.


    Where did you get this from?


    Endpoint = myomvhost.duckdns.org:51820

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • No, I do not mean the public and private keys.


    Where did you get this from?


    Endpoint = myomvhost.duckdns.org:51820

    I set it from duckdns, but it's not the real one... it's just an example to let understand my configuration. I thought it was clear XD

    omv 7.4.14-1 sandworm | 64 bit

    plugins :: omvextrasorg 7.0 | compose 7.2.16 | sharerootfs 7.0-1 | symlinks 7.0 | wetty 7.0-2

  • Good morning,

    after several tests I resolved that my connection is under GNAT and so on...
    I tried to install Tailscale, as well with docker, and I could find the nginx page by the hostname. Unfortunately I'm not able to connect directly to OMV. I read somewhere that Tailscale has to be set as "HOST", but I coudn't find any guide on the web. Below my yml configuration:

    Does anyone could help please?

    Thanks.

    omv 7.4.14-1 sandworm | 64 bit

    plugins :: omvextrasorg 7.0 | compose 7.2.16 | sharerootfs 7.0-1 | symlinks 7.0 | wetty 7.0-2

  • I read somewhere that Tailscale has to be set as "HOST", but I coudn't find any guide on the web.

    I had ChatGPT write a compose file based on the tailscale DockerHub page instructions, and it runs fine on my end. You can give it a try.

    Please adjust the environment variables as needed.

    Don't worry about my privacy being compromised, everything is temporary.

    The result is like this:


    Sure, it is okay to access omv and docker apps using a domain name, too.

    OMV 7.x | 6.8 Proxmox Kernel

    GIGABYTE Z370M DS3H Motherboard

    Intel G4560 CPU | 16G×1 Non-ECC RAM

    128G SSD + 1T SSD + 4T×2 HDD

    Edited once, last by Zafkiel ().

  • I love you. Definitely.
    It works great! And with hostname I'm able to connect to the remote folders as the local ones.


    Thank you so much for your help, you saved my nights.

    omv 7.4.14-1 sandworm | 64 bit

    plugins :: omvextrasorg 7.0 | compose 7.2.16 | sharerootfs 7.0-1 | symlinks 7.0 | wetty 7.0-2

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!