How To Set Up WireGuard on Debian 11
In this tutorial, you will set up WireGuard on a Debian 11 server, and then configure another machine to connect to it as a peer using both IPv4 and IPv6 connections (commonly referred to as a _dual stack_ connection). You’ll also learn how to route the peer’s Internet traffic through the WireGuard server in a gateway configuration, in addition to using the VPN for an encrypted peer-to-peer tunnel.