summaryrefslogtreecommitdiffstats
path: root/vpn.gumx.cc
diff options
context:
space:
mode:
authorAhmed <git@gumx.cc>2026-06-14 16:30:47 +0300
committerAhmed <git@gumx.cc>2026-06-14 16:30:47 +0300
commit307ff4912bac1095ebf382d70241f19409b2f8b8 (patch)
treea2c3d36634fa86705e48db4fc797437ba816e5e0 /vpn.gumx.cc
parentfa568e13d04c0aacdb29ca252b783f1dcdb6bf23 (diff)
add: templating
Diffstat (limited to 'vpn.gumx.cc')
-rw-r--r--vpn.gumx.cc/body.html19
-rw-r--r--vpn.gumx.cc/index.html15
-rw-r--r--vpn.gumx.cc/meta2
3 files changed, 33 insertions, 3 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>
diff --git a/vpn.gumx.cc/index.html b/vpn.gumx.cc/index.html
index c2a3ce3..0d33729 100644
--- a/vpn.gumx.cc/index.html
+++ b/vpn.gumx.cc/index.html
@@ -2,6 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
+<link rel="icon" type="image/svg+xml" href="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1IDUiPjxyZWN0IHg9IjEiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz48cmVjdCB4PSIyIiB5PSIxIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+PHJlY3QgeD0iMCIgeT0iMiIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPjxyZWN0IHg9IjEiIHk9IjIiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz48cmVjdCB4PSIyIiB5PSIyIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+PC9zdmc+">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>vpn.gumx.cc</title>
<style>
@@ -15,15 +16,19 @@ h1, header, footer { text-align: center; }
main { text-align: justify; }
p, h2, h3, h4 { margin: 1em 0 0 0; }
ol { margin: 0.5em 0 0 0; }
+table { margin: auto; border-collapse: collapse; }
+th, td { border: 1px solid; padding: 0.3em 0.8em; }
pre { margin: 1em 0; }
pre code { border: thin solid; padding: 1em; display: block; text-align: start; overflow-x: scroll; }
code { font-size: 85%; }
+hr { border: none; border-top: thin solid; margin: 1.25rem 0; }
header { margin-bottom: 1em; }
footer { margin-top: 3em; }
a { color: inherit; }
@media (max-width: 600px) { body { font-size: 0.9em; } h1 { font-size: 1.8em; } }
@media (max-width: 400px) { body { font-size: 0.8em; } h1 { font-size: 1.6em; } }
@media (prefers-color-scheme: dark) { html { filter: invert(1); } img { filter: invert(1); } }
+
</style>
</head>
<body>
@@ -31,7 +36,7 @@ a { color: inherit; }
<h1><a href="https://gumx.cc">gumx</a> / vpn</h1>
</header>
<main>
-<p><a href="https://www.wireguard.com/">WireGuard</a> VPN. Endpoint: <code>wk.fo:51820</code>. Access is by invitation.</p>
+<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>
@@ -47,19 +52,23 @@ DNS = 1.1.1.1
[Peer]
PublicKey = &lt;server public key&gt;
-Endpoint = wk.fo:51820
+Endpoint = vpn.gumx.cc:51820
AllowedIPs = 0.0.0.0/0
PersistentKeepalive = 25</code></pre>
+
</main>
<footer>
<hr>
-<a href="https://gumx.cc">gumx.cc</a> /
+<a href="https://twt.gumx.cc">twt</a> /
<a href="https://git.gumx.cc">git</a> /
<a href="https://mail.gumx.cc">mail</a> /
<a href="https://irc.gumx.cc">irc</a> /
+<a href="https://files.gumx.cc">files</a> /
<a href="https://vpn.gumx.cc">vpn</a> /
<a href="https://pgp.gumx.cc">pgp</a> /
+<a href="https://demo.gumx.cc">demo</a> /
<a href="https://wk.fo">wk.fo</a>
</footer>
+
</body>
</html>
diff --git a/vpn.gumx.cc/meta b/vpn.gumx.cc/meta
new file mode 100644
index 0000000..3c1ebbc
--- /dev/null
+++ b/vpn.gumx.cc/meta
@@ -0,0 +1,2 @@
+TITLE="vpn.gumx.cc"
+BREADCRUMB="vpn"