Merge branch 'master' of github.com:Community-Run-eXperimental-Network/docs

This commit is contained in:
Tristan B. Velloza Kildaire 2022-11-23 16:28:06 +02:00
commit b564226be4
1 changed files with 4 additions and 1 deletions

View File

@ -11,10 +11,11 @@ All you need to do to get setup with Rany's On-the-go is the following (run it i
privkey=$(wg genkey)
pubkey=$(printf %s "$privkey" | wg pubkey)
ret=$(curl -s "-Fpubkey=$pubkey" rany1.duckdns.org:5000)
ret=$(curl -s -XPOST "-Fpubkey=$pubkey" http://rany1.duckdns.org:5000/)
myaddr=$(printf %s "$ret" | jq -rc .client_address)
serveraddr=$(printf %s "$ret" | jq -rc .server_address)
# serverpubkey=$(printf %s "$ret" | jq -rc .server_pubkey)
serverpubkey="CPOuiTlyE/+C/+3iZOv7XrjPEpwl0MFlbTN4nUrQkRo="
cat <<EOF
@ -29,4 +30,6 @@ AllowedIPs = fd00::/8
Endpoint = $serveraddr
PersistentKeepalive = 25
EOF
exit 0
```