From 02886dd4206ea2d26b76b2044d59e2628f26b4e5 Mon Sep 17 00:00:00 2001 From: Donald Cheng Hong Zou Date: Thu, 5 Aug 2021 01:39:32 -0400 Subject: [PATCH] Remove public and private key txt --- .gitignore | 2 ++ README.md | 24 ++++++++++++------------ src/private_key.txt | 1 - src/public_key.txt | 1 - 4 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 src/private_key.txt delete mode 100644 src/public_key.txt diff --git a/.gitignore b/.gitignore index d22c6f0..9968f75 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,6 @@ __pycache__ src/wg-dashboard.ini src/static/pic.xd *.conf +private_key.txt +public_key.txt diff --git a/README.md b/README.md index 4e54cda..3865a62 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,8 @@ ## 📣 What's New: Version v2.2 - 🎉 **New Features** - - **QR Code**: You can add the private key in peer setting of your existed peer to create a QR code. Or just create a new one, dashboard will now be able to auto generate a private key and public key ;) Don't worry, all keys will be generated on your machine, and **will delete all key files after they got generated**. - - **Autostart on boot**: Added a tutorial on how to start the dashboard to on boot! Please read the [tutorial below](#autostart-wireguard-dashboard-on-boot). + - **QR Code**: You can add the private key in peer setting of your existed peer to create a QR code. Or just create a new one, dashboard will now be able to auto generate a private key and public key ;) Don't worry, all keys will be generated on your machine, and **will delete all key files after they got generated**. [❤️ in [#29](https://github.com/donaldzou/wireguard-dashboard/issues/15)] + - **Autostart on boot**: Added a tutorial on how to start the dashboard to on boot! Please read the [tutorial below](#autostart-wireguard-dashboard-on-boot). [❤️ in [#29](https://github.com/donaldzou/wireguard-dashboard/issues/29)] - 🪚 **Bug Fixed** - When there are comments in the wireguard config file, will cause the dashboard to crash. - Used regex to search for config files. @@ -277,16 +277,16 @@ AllowedIPs = 0.0.0.0/0 Endpoint = 0.0.0.0:51820 ``` -| | Description | Default Value | -| ----------------- | --------------------------------------------- | ------------------------------------------------------------ | -| **`[Interface]`** | | | -| `PrivateKey` | The private key of this peer | N/A | -| `Address` | The `allowed_ips` of your peer | N/A | -| `DNS` | The DNS server your peer will use | `1.1.1.1` - Cloud flare DNS, you can switch it to Google DNS - `8.8.8.8`, or use your own DNS, you can edit it later in the WireGuard phone app. | -| **`[Peer]`** | | | -| `PublicKey` | The public key of your server | N/A | -| `AllowedIPs` | IP ranges for which a peer will route traffic | `0.0.0.0/0` - Indicated a default route to send all internet and VPN traffic through that peer | -| `Endpoint` | Your wireguard server ip and port | `:` | +| | Description | Default Value | +| ----------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | +| **`[Interface]`** | | | +| `PrivateKey` | The private key of this peer | N/A | +| `Address` | The `allowed_ips` of your peer | N/A | +| `DNS` | The DNS server your peer will use | `1.1.1.1` - Cloud flare DNS, you can switch it to Google DNS - `8.8.8.8`, or use your own DNS, you can edit it later in the WireGuard phone app. | +| **`[Peer]`** | | | +| `PublicKey` | The public key of your server | N/A | +| `AllowedIPs` | IP ranges for which a peer will route traffic | `0.0.0.0/0` - Indicated a default route to send all internet and VPN traffic through that peer | +| `Endpoint` | Your wireguard server ip and port, the dashboard will search for your server's default interface's ip. | `:` | ## ❓ How to update the dashboard? diff --git a/src/private_key.txt b/src/private_key.txt deleted file mode 100644 index adb45a4..0000000 --- a/src/private_key.txt +++ /dev/null @@ -1 +0,0 @@ -NZV8Z5QOobhbM4f6RLtICNghumYT30aKUxaUNmEtulM= \ No newline at end of file diff --git a/src/public_key.txt b/src/public_key.txt deleted file mode 100644 index 6a93f06..0000000 --- a/src/public_key.txt +++ /dev/null @@ -1 +0,0 @@ -NZV8Z5QOobhbM4f6RLtICNghumYT30aKUxaUNmEtulM=