Merge branch 'master' of github.com:Community-Run-eXperimental-Network/docs
This commit is contained in:
commit
b564226be4
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue