aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-10-26 20:57:20 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-10-26 20:57:20 +0300
commit17a7fdedb1c26a74aa463fc896fae43af1dca464 (patch)
tree115aa38a52169647ecfba9c7b8fdc1696809aa24
parentindex.html: collapse empty <div> (diff)
downloadwireguard-config-17a7fdedb1c26a74aa463fc896fae43af1dca464.tar.gz
wireguard-config-17a7fdedb1c26a74aa463fc896fae43af1dca464.zip
move some stuff from index.html to README.md
Diffstat (limited to '')
-rw-r--r--README.md30
-rw-r--r--index.html8
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:
<div class="row">
<div class="col-md-8">
- <p class="text-muted">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.</p>
<p class="text-muted">This page assumes that you have a WireGuard server
configured on interface <code>wg0</code>.
You can then generate the new client's keys, feed them to this page and it will