diff options
| author | Ahmed <git@gumx.cc> | 2026-06-14 16:30:47 +0300 |
|---|---|---|
| committer | Ahmed <git@gumx.cc> | 2026-06-14 16:30:47 +0300 |
| commit | 307ff4912bac1095ebf382d70241f19409b2f8b8 (patch) | |
| tree | a2c3d36634fa86705e48db4fc797437ba816e5e0 /vpn.gumx.cc/body.html | |
| parent | fa568e13d04c0aacdb29ca252b783f1dcdb6bf23 (diff) | |
add: templating
Diffstat (limited to 'vpn.gumx.cc/body.html')
| -rw-r--r-- | vpn.gumx.cc/body.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/vpn.gumx.cc/body.html b/vpn.gumx.cc/body.html new file mode 100644 index 0000000..49fb589 --- /dev/null +++ b/vpn.gumx.cc/body.html @@ -0,0 +1,19 @@ +<p><a href="https://www.wireguard.com/">WireGuard</a> VPN. Endpoint: <code>vpn.gumx.cc:51820</code>. Access is by invitation.</p> +<h2>setup</h2> +<ol> +<li>Generate a keypair: <code>wg genkey | tee private.key | wg pubkey > public.key</code></li> +<li>Send your public key to <a href="mailto:hi@gumx.cc">hi@gumx.cc</a></li> +<li>Receive your assigned IP (<code>10.0.0.x/32</code>) and the server public key</li> +<li>Create <code>/etc/wireguard/wg0.conf</code> and bring it up with <code>wg-quick up wg0</code></li> +</ol> +<h2>example client config</h2> +<pre><code>[Interface] +PrivateKey = <your private key> +Address = 10.0.0.x/32 +DNS = 1.1.1.1 + +[Peer] +PublicKey = <server public key> +Endpoint = vpn.gumx.cc:51820 +AllowedIPs = 0.0.0.0/0 +PersistentKeepalive = 25</code></pre> |
