summaryrefslogtreecommitdiffstats
path: root/vpn.gumx.cc/body.html
diff options
context:
space:
mode:
Diffstat (limited to 'vpn.gumx.cc/body.html')
-rw-r--r--vpn.gumx.cc/body.html19
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 &gt; 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 = &lt;your private key&gt;
+Address = 10.0.0.x/32
+DNS = 1.1.1.1
+
+[Peer]
+PublicKey = &lt;server public key&gt;
+Endpoint = vpn.gumx.cc:51820
+AllowedIPs = 0.0.0.0/0
+PersistentKeepalive = 25</code></pre>