Wireguard Setup Guide

Started by nicholaswkc, January 25, 2025, 06:52:35 AM

Previous topic - Next topic
Dear all forumer, I tried to setup wireguard vpn by following the official wireguard guide but could not understand it.

In Windows, i just need to import the conf file into wireguard app.

Please bear with me as I am beginner in networking.
Please teach me how to setup in simple step by step.





January 25, 2025, 09:31:21 AM #2 Last Edit: January 25, 2025, 12:03:38 PM by nicholaswkc
Quote from: RamSense on January 25, 2025, 07:50:18 AMHi,
Maybe this detailed guide can help you:
https://homenetworkguy.com/how-to/configure-wireguard-opnsense/

The guide is more like setup P2P network to OPNSense firewall. I just need to import conf file in Wireguard app. I want to setup peer wireguard to Proton vpn

The homenetworkguy how-to is for a single peer (an iOS phone) to connect via Wireguard on OPN.
This is equivalent to the first link you mentioned.

Because he used a phone, a QR code scan was used to import the conf file.
Instead, copy/paste the config to the left of the QR code, save it to a file. Use that file on your PC.

If I understand @nicholaswkc correctly, he wants to connect his while network behind his OpnSense via ProtonVPN, not a single client directly (in that case, OpnSense is not even involved in all that).

However, it does not get any more basic than the linked OpnSense guide, and it is step-by-step, indeed. You have to understand that besides the VPN keys (which can be compacted into a QR code), there are more things like routing, firewall rules and DNS that have to be dealt with, when you connect a whole network or parts of it over a VPN. Part of that depends on how you setup your own network.

If you cannot follow that step-by-step guide, I fear that OpnSense is not for you.
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005

1100 down / 440 up, Bufferbloat A+