Version: Dec 11, 2024

WireGuard Self-Hosting Setup Instructions

Overview

This guide walks you through setting up a self-hosted WireGuard server for secure remote access, restricting access to only your Linux server on Hyper-V while keeping the rest of your network hidden.

As of now this guide is WIP, which only supports IPv4 communications. I hope to explain IPv6 in the near future.


1. Install WireGuard on the Server


2. Generate Keys


3. Set Up the WireGuard Configuration


4. Enable port forwarding (WIP)


5. Enable and Start the WireGuard Interface


5. Firewall Configuration


6. Router Configuration


7. Client Configuration


8. Test the Connection


Optional Enhancements


Notes


Additional Resources