Added WG Easy V15 to BigBearCasaOS

Hi @Qwerty It is simply. Using “Custom Install”, You can overwrite this version from 15 to 15.1

Because docker-compose.yml (see Github BigBearRepo link) is referencing image as:

ghcr.io/wg-easy/wg-easy:15

So docker images are not “in” BigBear CasaOS repo, but on Github docker hub (=ghcr.io). So just overwrite this piece of information (docker image version). And click OK, after that Your custom install will be processed.

wg-easy/wg-easy is developer of WG Easy, so 15.1 is here.

You can simply check every version via this command:

sudo docker pull ghcr.io/wg-easy/wg-easy:15.1

(and hit Ctrl+C to interrupt download of image…). Use GUI dialog “Custom Install” and no CLI is needed.

ghcr.io Tag 15 is 15.1 and 15.1.0.

15.1.0
15.1
15
Published 6 months ago · Digest …
sha256:bb8152762c36f824eb42bb2f3c5ab8ad952818fbef677d584bc69ec513b251b0

Thank you for the reply. I’m really new to working with home servers, and I don’t really understand how to do what you have written. I have tried to follow the instructions. I put the sudo command into ttydBridge and managed to get the image into Portainer. I then tried to add a container and pasted the gchr.io ending in :15.1 into docker.io and deployed the container. When it started up I had a message that the container was unhealthy and on ZimaOS home page it just showed a wireguard icon with Legacy written above it. I need a simple guide on how to do this written so an idiot can understand it. Or if you can provide a link that would be great and I will follow the instructions.

@Qwerty

No one is idiot and there is no such thing like stupid question. Everyone started once…

I try to guide You.

I have casaOS, not ZimaOS, but it is nearly same. When You type WG EASY in App Store, You found WG EASY 15 icon.

Do not click on install button, just click on Title of App.

Mouse hover over blue button “Install” and do not click:

Custom install button appeared:

Click on Custom Install.

Just overwrite Tag 15 to 15.1 and hit blue button Install at the bottom of the dialog.

That’s it. You will download (and test) version 15.1

Last words

Note A

I may be getting ahead of myself, but this note can save a lot of disappointment and hours of testing…

VPN will works only if Your ISP do not use CGNAT. If Your ISP use it. You have only solution:

  • regularly pay for public ipv4 address to Your ISP
  • use IPv6 only (no pay, but ISP must have IPv6 support)
  • reverse ssh over public VPN server (You must pay VPN server)

Note B

Later, after You will be advanced user. You can popup Custom install dialog and completely make Your own app (test new version of existed on completely new from github using their docker images)

Custom dialog here is completely empty. So here is only for advanced user:

I already tried typing 15.1 in the tag box and it didn’t work.I retried and got message “You can’t log in with an insecure connection. Use HTTPS” despite adding environment variable INIT_INSECURE true. I also changed username and password and when trying to log in with this then got “Error Invalid username or password” My ISP does not use CGNAT.

There is no such variable as INIT_INSECURE, correct name is INSECURE, and value true.

Alankow here in topic, described his solution.

Okay, I changed it and followed Alankow’s way but still getting error invalid username or password

Okay, it finally worked. For public IP do I use my WAN IP or do I point it at my server IP address?

qwerty.duck.com (I only guess, that duck dns has duck.com) is pointed to Your WAN IP address (public IPv4). And on Your router setup port forwarding. Everything what is incoming UDP 51820 to the router is forwarded to zimaOS:51820 (UDP only). Do not forward TCP 51821, You do not want to expose web interface of WG Easy to the Internet. If You use firewall on zimaOS, open incomming UDP port 51820 from gateway (local IP addr).

And all your ntbs/smart phone will connect VPN to qwerty.duck.com, UDP port 51820 (default).

Even the cheapest Wi-Fi router can do port forwarding. Sometimes it has different name, but do the same. Different name can be: Virtual Server, NAT rules, NAT Settings, Port Mapping, Application Rules or Port Triggering.

So connection is:

NET —- UDP 51820 → WAN router →forwarding to zimaOS in LAN (also incomming UDP 51820)

I can’t seem to get it to work. In settings on Zima for INIT_HOST should my value be myddnsserverdotcom(I don’t want to give the proper address on a public forum)? On my router I have port forwarding set up Protocol UDP, external port 51820, internal port is optional so I have left this blank, internal IP address is set as the IP of my Zima device(192.168.xx.xxx) When I tether my laptop to my mobile and turn on VPN I cannot access the web GUI for Zima or Wireguard. I imported config files to my laptop. Interface has listen port blank, DNS 1.1.1.1 and MTU 1420. Peer has Endpoint as myddnsserver.com:51820. Persistent keep alive =0. On the Wireguard web GUI on my desktop in Config I have Host set to myddnsserver address. Does this all seem okay or have I made a mistake somewhere? I have a VPN set up on my router. It doesn’t matter whether this is turned on or off, I still cannot connect or get the client to show the little red flashing ball. My ISP definitely does not use CGNAT, I called their technical department to ask this question.


WOW, not even working

patched with chat gpt it was ipv6 issue

I have given up, followed all instructions but keep getting unhealthy or this message:

Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: sysctl “net.ipv6.conf.all.disable_ipv6” not allowed in host network namespace.

Tried to solve it with Perplexity.ai but had no luck.

It is really difficult for noobs to self hosting to install some things without a detailed step by step manual. For example: I do not know if I have to delete INIT variables or not, if I have to select Network host or any other. If I have to use v15 or v15.1 or v15.2 which already exists. Do I have to activate priviledges? Do I have to add any commands? Anyway, I appreciate all your efforts j900 but I can’t fix it.

I am using RPiOS and CasaOS, trying to start accessing the apps from outside the network but it is a pain.

I do not know, what this value is for. But I guess it is hostname of ZimaOS. It is completely useless for our scenario.

Q: INIT_HOST should my value be myddnsserverdotcom

A: No.

Q: On my router I have port forwarding set up Protocol UDP, external port 51820, internal port is optional so I have left this blank.

A: maybe it can be problem here. Optionally maybe means it forward on same port, but it is vendor specific, what optionally is meaning.

Q: internal IP address is set as the IP of my Zima device(192.168.xx.xxx)

A: Yes, very good.

Q: I cannot access the web GUI for Zima or Wireguard.

A: You cannot visit web server UI outside, because it is accessible only via TCP/51821. You forwarded only UDP/51820 for WireGuard protocol itself. Do not expose Your web UI to the internet. It is bad idea. If You cannot access zimaOS webUI, it maybe because, You do not have working VPN tunnel.

Q: Interface has listen port blank, DNS 1.1.1.1 and MTU 1420.

A: Here is my v14 example conf. There is no MTU. But maybe it is change in v15.

[Interface]
PrivateKey = 6A-------------------------------------------
Address = 10.10.0.3/24
DNS = 1.1.1.1

[Peer]
PublicKey = B----------------------------------------------
PresharedKey = B-------------------------------------------
AllowedIPs = 0.0.0.0/0, ::/0
PersistentKeepalive = 30
Endpoint = yourduckdns:51820

Q: Endpoint as myddnsserver.com:51820.

A: It is good.

Q: Persistent keep alive =0.

A: Better is to setup 30 or 60. Because it keeps Your WG tunnel persistent (continuos communication).

Q: On the Wireguard web GUI on my desktop in Config I have Host set to myddnsserver address.

A: Sry, I am lost in translation/bad understand where is Config section. Can You paste screenshot?

Q: Does this all seem okay or have I made a mistake somewhere?

A: repair mentioned “optionally” external port forwarding.

Check that zimaOS does not have blocked incoming UDP/51820 in firewall. Rule will be:

accept incoming gateway-ip-address port: udp/51820

If nothing helps, try to disable all ipv6.

Sorry for late reply, I was ill.

Yes, first time I do it 3 days. It is for selfhosted lovers :slight_smile:

Double check, as I mentioned in case of @Qwerty - Your ISP do not use CGNAT. You will burn many hours/days useless!

In nutshell:

  • create DNS record pointed to actual IPv4 address of Your home. Some ISP change it every week, some per year.
  • Create port forwarding on Your router. From WAN to ZimaOS/casaOS.
  • casaOS/zimaOS must have enabled FW rule: incoming UDP port of WG

I have completed the installation using v13 from another app store (cool store). It was painless, I had already configured the router from my tries with v15 bigbear and it worked in the first try. I really don’t know what happens with v15 version that gives those errors. I tried also the latest version on Cool Store and it also gave me problems.

As an update, I gave up on Wireguard. I ended up installing Netbird. I still had to work a few things out but I got it working in a few days.