Wireguard Plugin stopped working after latest upgrade of OMV

  • Hi there, is my first post here

    I have an Odroid HC4 with two hdd and a micro sd running OMV6.4.3-1 (Shaitan)

    Since the last update i've got my Wireguard setup (via OMV-Plugin) worked flawlessly, but since that it stopped working.

    I already tried to unistall the plugin and reinstall it, I create a new tunnel after deleting the old one but the peers don't see Bits in "rx"


    My router is already setup with port forwarding and i also opened the firewall ports manually on OMV Firewall with no results.


    here some command i saw in other post related to the issue, I hope that can help


    -ip link


    - ls -al /usr/bin/wg

    Code
    ls -al /usr/bin/wg
    -rwxr-xr-x 1 root root 85016 Feb 25  2021 /usr/bin/wg


    - dpkg -l | grep -E "wireguard|openme"



    - cat /etc/wireguard/wgnet1.conf



    - cat /etc/wireguard/wgnet_client1.conf


    Am I missing something? i also try to see on dmesg if i have some errors, but it seems not.

    Hope somebody can help, thanks in advance!


    Silvio


    p.s. i L O V E omv, it really change my life :love:

    • Official Post

    21: wgnet1: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000

    There is a bug external to OMV that is breaking some networks, and by the looks of it it also breaks Wireguard. Try this. https://www.openmediavault.org/?p=3492

  • Hi chente, thanks for your support


    I tried with no results, in fact the systemd-networkd.service seems to be "active (running)".

    I did not understand how to set static IP on omv, because "/etc/network/interfaces" seems to be an auto-generated file


    here the result of this command:

    i don't see any interface except of the physical one (eth0), none docker ones or wg1 (my wireguard net). It is normal?

    I also tried to shut down and up the wireguard network via the "wg-quick" command but i can't see anything in the systemd-networkd.service log as you can see


    Thanks again

    Silvio

  • Have you tried a reboot?

    Sounds stupid but I use pop os and my wireguard wasn't working after updates. Booted in the older kerknel and everything worked fine. Booted back to the current kernel and everything worked also.

    So can't hurt to reboot I think.

    omv 6

    Plugins - omvExtras | LVM2 | Compose plugin | SFTP | ...

    System - x86 intel

  • I'm not OP and hopefully you don't mind me jumping in the thread. I believe I'm experiencing same problem as OP does.


    systemctl status systemd-networkd.service reports active (running), but systemctl status wg-quick@wgnet1.service reports active (exited). systemctl restart systemd didn't help.

    What does that mean?


    • Official Post

    but systemctl status wg-quick@wgnet1.service reports active (exited)

    That shouldn't be a problem. What is wrong with your system? Wireguard not working? What is not working?

  • That shouldn't be a problem. What is wrong with your system? Wireguard not working? What is not working?

    Yeah, wireguard stopped working suddenly. Post from OP sounds like my problem, but it seems like I'm wrong. I don't know if I did anything other than update.

    So it looks like plugin is working fine? Can I exclude problem on the server then?

    Is there any way to check is my router acting and not forwarding port?

    • Official Post

    Is there any way to check is my router acting and not forwarding port?

    You can forward that port to whatever other service you have on your network, jellyfin(www.YOUR_DOMAIN:8096), the OMV GUI, whatever you want. If you can access it, the forwarding is working. Remember to remove that port after testing, don't leave a door open.

    You can verify your public IP here https://whatismyipaddress.com/ Make sure your ISP has not put you behind CGNAT. Check if your public IP matches the public IP advertised on the router.

    You can check if your domain is being forwarded to your public IP here. https://www.whatsmydns.net/

  • Make sure your ISP has not put you behind CGNAT.

    First time I hear about CGNAT, thank you a lot, you are my hero !

    After quick googling I found out my connection is behind CGNAT. Called provider, they disabled it and works perfectly again.


    chente you are so kind, thank you for all tips

    liciogelli good luck with your vpn


    OMV thank you for being so good and sorry for blaming you lol <3

    • Official Post

    First time I hear about CGNAT, thank you a lot, you are my hero !

    After quick googling I found out my connection is behind CGNAT. Called provider, they disabled it and works perfectly again.

    I'm glad you figured it out :thumbup:

    • Official Post

    OMV thank you for being so good and sorry for blaming you lol <3

    This is much more common than you may think. Many users enter the forum blaming OMV (some of them angry) and later realize that the cause of their problem has nothing to do with OMV.

    But nothing happens, it is the daily bread :)

  • What is the output of

    systemctl status wg-quick@wgnet1.service


    Code
     systemctl status wg-quick@wgnet1.service
    ● wg-quick@wgnet1.service - WireGuard via wg-quick(8) for wgnet1     Loaded: loaded (/lib/systemd/system/wg-quick@.service; enabled; vendor pre>     Active: active (exited) since Thu 2022-12-22 12:55:57 CET; 5 months 20 day>       Docs: man:wg-quick(8)             man:wg(8)             https://www.wireguard.com/             https://www.wireguard.com/quickstart/             https://git.zx2c4.com/wireguard-tools/about/src/man/wg-quick.8             https://git.zx2c4.com/wireguard-tools/about/src/man/wg.8    Process: 1575 ExecStart=/usr/bin/wg-quick up wgnet1 (code=exited, status=0/>   Main PID: 1575 (code=exited, status=0/SUCCESS)


    I'm so sorry I disappeared but I traveled a lot for work..

    matdb: yes I tried to reboot several times with no results

  • Try to do the same as I said in post 11, please.

    Ok thank you for pointing me to that post, i checked and everything works except the path of my wireguard setup. I did a mistake in my cloudflare DDNS setup and now everything works

    I have to thank you all for the help, I probably would never have done it alone

  • liciogelli

    Added the Label resolved
  • liciogelli

    Added the Label OMV 6.x

Participate now!

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