rename examples

This commit is contained in:
Nick Sweeting
2019-06-24 06:11:21 -04:00
parent 9ec86c0e0f
commit 7163803ff6
62 changed files with 119 additions and 253 deletions

View File

@@ -0,0 +1 @@
eDwURfg8PhpUAdPp+OA9pQ5oZQYqGqY3LToUORMh220=

View File

@@ -0,0 +1 @@
SceMEaVZaZfOGtGXjMsoJjhwxKHkb++9wjxqN1vm32s=

View File

@@ -0,0 +1,6 @@
#!/bin/bash
# install wireguard
add-apt-repository ppa:wireguard/wireguard
apt update
apt install wireguard

View File

@@ -0,0 +1,5 @@
#!/bin/bash
PEER_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
wg-quick up "$PEER_DIR"/wg0.conf
wg show

View File

@@ -0,0 +1,5 @@
#!/bin/bash
PEER_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
wg-quick down "$PEER_DIR"/wg0.conf
wg show

View File

@@ -0,0 +1,12 @@
[Interface]
# Name = server2.example-vpn.dev
Address = 10.0.44.2/32
ListenPort = 51820
PrivateKey = eDwURfg8PhpUAdPp+OA9pQ5oZQYqGqY3LToUORMh220=
DNS = 1.1.1.1
[Peer]
# Name = server1.example-vpn.tld
Endpoint = server1.example-vpn.tld:51820
PublicKey = q/+jwmL5tNuYSB3z+t9Caj00Pc1YQ8zf+uNPu/UE1wE=
AllowedIPs = 10.0.44.1/24