Skip to content

Docker configuration for Mullvad VPN with Wireguard #629

Answered by qdm12
GiomB asked this question in Q&A
Discussion options

You must be logged in to vote

with in it ANOTHER private key

Yes I saw that too, I believe the key they show in the web ui is the hash digest of the actual private key which is in the configuration file. That bummed me out too 😄

So which private key do I have to take ? And is the .conf useful, like I have to copy it to /config ?

Copy paste the Private Key and Address values from any of the Wireguard configurations you downloaded. You only need to set WIREGUARD_PRIVATE_KEY and WIREGUARD_ADDRESS as specified in the Mullvad table. For example:

docker run -it --rm --cap-add=NET_ADMIN \
-e VPNSP=mullvad \
-e VPN_TYPE=wireguard \
-e WIREGUARD_ADDRESS="11.48.216.37/32" \
-e WIREGUARD_PRIVATE_KEY="OFf8G73HKurisHXAUmrXxU5C…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@GiomB
Comment options

@qdm12
Comment options

@GiomB
Comment options

@qdm12
Comment options

Answer selected by GiomB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants