SmartPhoneLover Posted December 13, 2021 Share Posted December 13, 2021 (edited) This docker template was created based on an already available docker image WebSite: https://www.wireguard.com/ GitHub: https://github.com/WeeJeWel/wg-easy DockerHub: https://hub.docker.com/r/weejewel/wg-easy My Repository: https://github.com/SmartPhoneLover/unraid-docker-templates DESCRIPTION You have found the easiest way to install & manage WireGuard on any Linux host! Features: • All-in-one: WireGuard + Web UI • Easy installation, simple to use • List, create, edit, delete, enable & disable clients • Show a client's QR code • Download a client's configuration file • Statistics for which clients are connected • Gravatar support NOTES • The default credentials: empty/unraid (user/pass). • It's just an alternative way to install WireGuard. VERSION 1.1 (2021-12-14) If you are going to report a bug or request something to be added/modified, please, take into consideration that I will only be able to apply changes for the work I own only. For example, if I create a docker template for an already existing docker image (not created by me), I won't be able to do more for that image than forward your report or request to the owner of the project. If you like my work, please consider making a little donation. - DONATE - Thank you very much 🙂 Edited December 14, 2021 by SmartPhoneLover 1 Quote Link to comment
Mantene Posted December 13, 2021 Share Posted December 13, 2021 Is there a good reason to use this over the built-in WireGuard implementation? Quote Link to comment
SmartPhoneLover Posted December 13, 2021 Author Share Posted December 13, 2021 Not actually. I would preffer to continue using the built-in one from unRAID. It's just for those who want to try another implementation with GUI administration. 1 Quote Link to comment
NixNick Posted December 13, 2021 Share Posted December 13, 2021 Hello. Thank you for this nice App. How to install it? After setup I've got the following error: WG_HOST Environment Variable Not Set! I'm new Unraid User Thank you Quote Link to comment
SmartPhoneLover Posted December 13, 2021 Author Share Posted December 13, 2021 (edited) 4 minutes ago, NixNick said: After setup I've got the following error: WG_HOST Environment Variable Not Set! If you check the GitHub repo, you will see the available variables to be used, and the 'WG_HOST' is the one that sets your IP server. (WG_HOST=🚨YOUR_SERVER_IP) Edited December 13, 2021 by SmartPhoneLover Quote Link to comment
NixNick Posted December 13, 2021 Share Posted December 13, 2021 Thank you Now everything is woring fine. Exactly what I was looking for. Thank you for your instant support and your great work 😃 1 Quote Link to comment
Johann Posted December 14, 2021 Share Posted December 14, 2021 Would it be possible to use this to manage the UNRAID wireguard implementation, best of both worlds? Quote Link to comment
SmartPhoneLover Posted December 14, 2021 Author Share Posted December 14, 2021 4 hours ago, Johann said: Would it be possible to use this to manage the UNRAID wireguard implementation, best of both worlds? I already thought about that, but as it's linked internally to the own WG service of the container itself I think it won't be possible. Quote Link to comment
Strubbel Posted December 14, 2021 Share Posted December 14, 2021 I might be dumb, but what is the default password? Quote Link to comment
SmartPhoneLover Posted December 14, 2021 Author Share Posted December 14, 2021 9 minutes ago, Strubbel said: I might be dumb, but what is the default password? Sorry, I forgot to mention it in the NOTES. It's just: "unraid". Quote Link to comment
SmartPhoneLover Posted December 14, 2021 Author Share Posted December 14, 2021 UPDATE 1.1 (2021-12-14) - Other: added default credentials (check variables within the template) to 'NOTES' section. Quote Link to comment
ThePheonixGuy Posted December 19, 2021 Share Posted December 19, 2021 On 12/13/2021 at 3:38 PM, Mantene said: Is there a good reason to use this over the built-in WireGuard implementation? Thought it would be worth while to add a reason to this. I'm using both the Unraid Wireguard implementation, as well as this container. Unraid for the reasons you'd expect. This container, I use to give VPN access into an isolated docker network that contains services for friends and family to use. This way, I didn't have to expose tons of ports to the open internet. I know people are going to read this and say "well, just use a reverse proxy", but that wasn't possible for these services ( dedicated game servers, voip servers, the like), and as such this gives us a safer implementation. Props to @SmartPhoneLover for this container, really love it! 2 Quote Link to comment
SeattleBandit Posted January 1, 2022 Share Posted January 1, 2022 this allows for greater selection of the IP range as well - with the default i ran into conflicts when i tried to connect to my vpn server from a network that had the same subnet my unraid server used - with this i can assign a different unique subnet to my clients - (i couldn't figure out how to get that to work with the built in unraid plugin maybe i'm a bonehead but i didn't see a way) Quote Link to comment
joshkrz Posted January 23, 2022 Share Posted January 23, 2022 Thanks for this Docker image, it works well for the most part! I'm having touble accessing my routers web interface over VPN. I can connect to everything else on my local network but not 192.168.1.1. Interestingly if I port scan that IP when connected to the VPN it shows the correct ports open. I get a connection reset error when attempting to access my router control panel. I've left all settings as defaults except setting WG_ALLOWED_IPS to 192.168.1.0/24. Has anyone else experienced this? Quote Link to comment
RiDDiX Posted February 11, 2022 Share Posted February 11, 2022 On 12/13/2021 at 2:38 PM, Mantene said: Is there a good reason to use this over the built-in WireGuard implementation? Sadly I have to say that this wireguard docker works better for me then the inbuild one. Within Unraid directly I cant get even access to something. Even when everything is setup correctly.... Quote Link to comment
GraemeT Posted March 4, 2022 Share Posted March 4, 2022 On 1/23/2022 at 4:40 PM, joshkrz said: Thanks for this Docker image, it works well for the most part! I'm having touble accessing my routers web interface over VPN. I can connect to everything else on my local network but not 192.168.1.1. Interestingly if I port scan that IP when connected to the VPN it shows the correct ports open. I get a connection reset error when attempting to access my router control panel. I've left all settings as defaults except setting WG_ALLOWED_IPS to 192.168.1.0/24. Has anyone else experienced this? I am having exactly the same issue... did you ever resolve it? Quote Link to comment
joshkrz Posted March 4, 2022 Share Posted March 4, 2022 5 minutes ago, GraemeT said: I am having exactly the same issue... did you ever resolve it? No I'm afraid not. I've kept my OpenVPN docker running until I can work it out. Quote Link to comment
GraemeT Posted March 4, 2022 Share Posted March 4, 2022 I have been trying this docker after upgrading my switches to use VLANs seems to have broken the built in Unraid Wireguard that was previously working perfectly! Quote Link to comment
GraemeT Posted March 5, 2022 Share Posted March 5, 2022 1 hour ago, joshkrz said: No I'm afraid not. I've kept my OpenVPN docker running until I can work it out. I managed to get it working - 3 things that I did (Perhaps not all of them needed...) 1) Set the docker networking to bridge mode 2) Set a port forward on the router to forward the wireguard port to the configured port on the host that the container is mapped to (shown on the docker information when running) 3) Set a static route on the router to point IP Addresses in the wireguard range to use the unraid server IP as the gateway (Probably not needed unless initiating connections from the LAN to the client - but I am doing that for one client) Quote Link to comment
GraemeT Posted March 5, 2022 Share Posted March 5, 2022 I also ditched the VLAN setup - although now it is working I may revisit that! Quote Link to comment
swallace Posted March 15, 2022 Share Posted March 15, 2022 I'm trying to utilize this container in Host Networking mode, such that I can assign it a to a tagged vlan interface (and have all my VPN clients end up on a particular subnet on my network). The container functions fine in Host mode, and clients can connect to the Wireguard server, but no traffic is able to be passed. Not quite sure why. Can anyone offer any advice? Thanks! Quote Link to comment
CorneliusCornbread Posted May 19, 2022 Share Posted May 19, 2022 I'm unable to access any SMB shares while connected. Everything else works, and I can even connect to my router as though I'm on LAN. Quote Link to comment
boomam Posted July 13, 2022 Share Posted July 13, 2022 (edited) The environment variable "WG_DEFAULT_ADDRESS" does not work to adjust the address range in use. Is this a known issue? ##EDIT## Further testing, neither do the environment variables for DNS. Edited July 13, 2022 by boomam Quote Link to comment
cholzer Posted July 27, 2022 Share Posted July 27, 2022 (edited) I have wireguard-easy on my rPI and have been very happy with it. So I though I should try the docker version because I could then get rid of my rPI. Using this docker I can connect to network shares and web gui's on my home network. I have set it to bridge mode and assigned a static IP. However using this docker I cannot SSH into a virtual machine through that wireguard tunnel - putty only throws a "network error: Software caused connection abort". Using wireguard-easy on my rPI I do not have that problem, I can ssh into my VMs just fine. Edited July 27, 2022 by cholzer Quote Link to comment
PassTheSalt Posted August 3, 2022 Share Posted August 3, 2022 Any chance we could edit the default config to meet our needs? Each time i create a conf in the gui I have to change the dns/server/allowed IPs. It would be nice to set a default. is there a file somewhere with the default config? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.