Anebula is reader-supported. When you buy through links on our site, we may earn an affiliate commission.
Setting this up was a little frustrating for me, but in the end I found a VERY helpful Reddit post. This article is meant to be a more SEO friendly version of this post by u/ShaKsKreedz. Thank you!
Theretically these intructions shuold work for all of the following containers. However, I’ll admit that I only tested it with binhex/arch-sabnzbdvpn.
Head over to your Mullvad.net account page, and select Downloads > WireGuard configuration.
Select platform & generate key
Select location and IP settings. You may choose any location and any wireguard endpoint. I used Netherlands nl3-wireguard for this example. Just be sure to choose a WireGard endpoint.
For tunnel traffic be sure to select Only IPv4.
Download your config
Parameter | Value |
---|---|
VPN_ENABLED | yes |
VPN_USER | vpn username |
VPN_PASS | vpn password |
VPN_PROV | custom |
VPN_CLIENT | wireguard |
VPN OPTIONS | |
STRICT_PORT_FORWARD | yes |
ENABLE_PRIVOXY | yes |
LAN_NETWORK | Varies, watch this YouTube video for help. |
This will create a WireGuard directory where we’ll need to copy our config to.
Edit the file that you downloaded from Mullvad and change the filename to “wg0.conf”, double check that the extension is correct.
Now you’ll need to copy the wg0.conf into the container within the wireguard folder. This can be done in various ways – I have a Visual Studio Code container that lets me access all my container config volumes in one place. You can also use something like Krusader to copy the file.
curl https://am.i.mullvad.net/connected
From this point on you should be able to access the GUI. If for any reason, the GUI does not show up then it’s most likely a LAN_NETWORK or Port mapping issue.
Thank you, hope this helps.
Documentation on this from a Docker Compose angle is sparse, so I wanted to share…
My house gets hot in the summer, and while central air helps, it's not enough.…
Nextcloud Desktop Client Usage: Sync files to Nextcloud Server The Nextcloud Desktop Client syncs to…
It's been two years and firve months since I upgraded to TP-LInk Omada and pfSense.…
This guide is part of the How to host multiple sites on one virtual machine…
This guide is part of the How to host multiple sites on one virtual machine…
View Comments
Thank you for documenting the process. I wish I had found this earlier in my journey.