diff options
Diffstat (limited to 'vpn.gumx.cc/index.html')
| -rw-r--r-- | vpn.gumx.cc/index.html | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/vpn.gumx.cc/index.html b/vpn.gumx.cc/index.html new file mode 100644 index 0000000..c2a3ce3 --- /dev/null +++ b/vpn.gumx.cc/index.html @@ -0,0 +1,65 @@ +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="utf-8"> +<meta name="viewport" content="width=device-width,initial-scale=1"> +<title>vpn.gumx.cc</title> +<style> +@font-face { font-family: "Kawkab Mono"; src: url(/fonts/KawkabMono-Regular.woff2); font-weight: normal; } +@font-face { font-family: "Kawkab Mono"; src: url(/fonts/KawkabMono-Bold.woff2); font-weight: bold; } +* { unicode-bidi: plaintext; box-sizing: border-box; } +html { color: black; background-color: white; } +body { font-family: "Kawkab Mono"; font-size: 16px; line-height: 1.4; margin: 0; padding: 4rem 0; min-height: 100%; overflow-wrap: break-word; } +main, header, footer { max-width: 800px; margin-inline: auto; padding: 0 2rem; } +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; } +pre { margin: 1em 0; } +pre code { border: thin solid; padding: 1em; display: block; text-align: start; overflow-x: scroll; } +code { font-size: 85%; } +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> +<header> +<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> +<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 = wk.fo: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://git.gumx.cc">git</a> / +<a href="https://mail.gumx.cc">mail</a> / +<a href="https://irc.gumx.cc">irc</a> / +<a href="https://vpn.gumx.cc">vpn</a> / +<a href="https://pgp.gumx.cc">pgp</a> / +<a href="https://wk.fo">wk.fo</a> +</footer> +</body> +</html> |
