From 0fafe782cf5468a5075683d4c4c3613127f9da68 Mon Sep 17 00:00:00 2001 From: rany Date: Sat, 30 Oct 2021 14:00:28 +0300 Subject: [PATCH] Update rany.md --- docs/otg/rany.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/otg/rany.md b/docs/otg/rany.md index f08a5f9..4a4a6e6 100644 --- a/docs/otg/rany.md +++ b/docs/otg/rany.md @@ -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 <