Once you are connected, head on over to. You should see a successful connection be made: On your Windows 10 machine, press the Activate button. You can compare my command below to my diagram at the top of my post for exactly what I mean: Test your connection IMPORTANT: You need to replace YOUR_CLIENT_PUBLIC_KEY and YOUR_CLIENT_VPN_IP ON YOUR SERVER run this command: sudo wg set wg0 peer YOUR_CLIENT_PUBLIC_KEY allowed-ips YOUR_CLIENT_VPN_IP The easiest way to add your key to your server is through the wg set command. Adding your client’s public key to the server If you press Activate on the next screen, it will not connect. This is just a demo):Ĭhecking Block untunneled traffic will make sure that all of our traffic is being routed through our VPN. This is what mine looks like (again, never share your private key. I dive into detail what this all means in another post, but make sure you are also setting your Address to a unique IP address on your virtual private network. IMPORTANT: You need to replace YOUR_SERVER_PUBLIC_KEY and YOUR_SERVER_WAN_IP PrivateKey = abcdefghijklmnopqrstuvwxyz1234567890=+ We need to update the configuration file to look like this: We’re far from done, so let’s get it to connect to our server. What’s nice about this is the GUI creates a public and private key for us automatically.
Once you install the client, you will want to click the arrow next to “Add Tunnel”, then click Add empty tunnnel. You can find that here: Install & Configure Admin privileges are no longer required on version 0.3.1 or higherĪlways download clients from official sources.The user must also be apart of the local admins group to run the VPN connection (thanks to /u/dubtea on Reddit).You need a Windows 10 computer with admin privileges for install.
I’ll only be walking through how to set up a client for WireGuard on Windows 10. This post belongs to my “mini-course” on Gain flexibility & increase privacy with WireGuard VPN.