wireguard_part_1
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wireguard_part_1 [2025/03/08 21:11] – created wizardadmin | wireguard_part_1 [2025/03/30 17:04] (current) – wizardadmin | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Wireguard Project Part 1 ====== | ====== Wireguard Project Part 1 ====== | ||
+ | I decided to use my Windows Server to host a wireguard VPN so that i could have remote access to my network at all times. Below are my steps and my configuration that i used to setup 2 peers and a server client. With the way wireguard works by trading public keys, some information in these configuration files with be redacted for my networks safety. | ||
+ | |||
+ | Step 1. Go here to Download Wireguard: https:// | ||
+ | |||
+ | Step 2. Once the installation is done, start Wireguard, Once it is open, at the bottom left you will see "Add Tunnel" | ||
+ | |||
+ | Step 3. Repeat step 2 and create a peer client tunnel. | ||
+ | |||
+ | Step 4. Edit the server tunnel configuration file and write in the following: | ||
+ | |||
+ | [Interface] | ||
+ | |||
+ | PrivateKey = Server Private key | ||
+ | |||
+ | ListenPort = choose a port number (default is 51820) | ||
+ | |||
+ | Address = choose an IP address that is in the private sector and is outside of your networks IP address class use a /24 subnet | ||
+ | |||
+ | [Peer] | ||
+ | |||
+ | PublicKey = Server Public key | ||
+ | |||
+ | AllowedIPs = Pick an IP address in the same class and subnet of the Interface address above, use a /32 ubnet | ||
+ | |||
+ | |||
+ | PersistentKeepalive = 60 | ||
+ | |||
+ | Step 5. | ||
+ | |||
+ | |||
wireguard_part_1.1741468292.txt.gz · Last modified: 2025/03/08 21:11 by wizardadmin