It is important to me that you get a good understanding of iptables and how to use it from this post since I think there is a lack of good guides about it. I believe it is way more helpful to explain fundamentals well compared to just handing out instructions to follow. With a good understanding, you will be able to help yourself a lot better in case you run into problems.
Thanks for posting, I am always interested in skimming through other WireGuard VPN setup articles to make sure their keys are generated securely (correct file permissions set). Here, I actually learned about the go= syntax with chmod! It sets the permissions of group members (g) and others (o) to what comes after the = - which is nothing.
I have both. Mullvad to hide/change my IP if I need to and WireGuard to use a VPN for it's original purpose: to connect all my devices together and host some internal services like password managers.
This is great if you have zero trust and want to build everything yourself, but anyone looking for a more turn-key solution should take note of Tailscale. They do the plumbing for you and you can have all your devices in a mesh VPN (uses WireGuard under the hood).
Here is a blog post from me how to build your own WireGuard VPN in 15 minutes:
Thanks for posting, I am always interested in skimming through other WireGuard VPN setup articles to make sure their keys are generated securely (correct file permissions set). Here, I actually learned about the
go=syntax withchmod! It sets the permissions of group members (g) and others (o) to what comes after the=- which is nothing.Hence, only the owner has access.
I see a lot of people using Wireguard VPN, is it better than Mullavad VPN?
Mullvad VPN uses WireGuard VPN under the hood.
I have both. Mullvad to hide/change my IP if I need to and WireGuard to use a VPN for it's original purpose: to connect all my devices together and host some internal services like password managers.
This is great if you have zero trust and want to build everything yourself, but anyone looking for a more turn-key solution should take note of Tailscale. They do the plumbing for you and you can have all your devices in a mesh VPN (uses WireGuard under the hood).
https://github.com/angristan/wireguard-install