From 17a7fdedb1c26a74aa463fc896fae43af1dca464 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 26 Oct 2021 20:57:20 +0300 Subject: move some stuff from index.html to README.md --- README.md | 30 +++++++++++++++++++++--------- index.html | 8 -------- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 6228c51..0fd789b 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,27 @@ An example configuration (with bogus key values) can be seen [here]. [here]: https://egor-tensin.github.io/wireguard-config/?server_public_key=a&server_endpoint=b%3A123&server_preshared_key=c&client_public_key=d&client_private_key=e&client_ipv4=192.168.1.1%2F24&client_ipv6=fd%3A%3A%2F48 +Description +----------- + +WireGuard is incredibly flexible. +For one thing, there's no built-in notion of a "server" and its "clients". +However, I believe that there being a central server and a number of clients +connected to it is a common use-case. +Adding a client might not be easy, since their configuration is typically +distributed in a file adhering to a WireGuard-specific format; these files can +be tedious to write by hand. +This project tries to make this task easier. + +Security +-------- + +This page only works on the client side - GitHub Pages doesn't allow +server-side processing. +Nothing really prevents me from sending your keys to an external server using +JavaScript, but you can easily verify that it doesn't happen using your +browser's debugging tools. + Development ----------- @@ -62,15 +83,6 @@ One easy workaround is to `wget` the website and convert the links: wget --no-verbose --recursive --convert-links --adjust-extension -- http://localhost:4000/blog/ -Security --------- - -This page only works on the client side - GitHub Pages doesn't allow -server-side processing. -Nothing really prevents me from sending your keys to an external server using -JavaScript, but you can easily verify that it doesn't happen using your -browser's debugging tools. - License ------- diff --git a/index.html b/index.html index cf74e9c..f9b9e8b 100644 --- a/index.html +++ b/index.html @@ -57,14 +57,6 @@ params:
-

WireGuard is incredibly flexible. -For one thing, there's no built-in notion of a "server" and its "clients". -However, I believe that there being a central server and a number of clients -connected to it is a common use-case. -Adding a client might not be easy, since their configuration is typically -distributed in a file adhering to a WireGuard-specific format; these files can -be tedious to write by hand. -This page tries to make this task easier.

This page assumes that you have a WireGuard server configured on interface wg0. You can then generate the new client's keys, feed them to this page and it will -- cgit v1.2.3