mirror of https://codeberg.org/CRXN/docs.git
OTG: Remove references to Rany's, now defunct, OTF service
This commit is contained in:
parent
010c6e2d90
commit
26fc1175dc
|
@ -5,5 +5,4 @@ CRXN _On-the-go_ are a collection of services run by a few people on CRXN that h
|
|||
|
||||
So far we have two people offering such services:
|
||||
|
||||
1. [Deavmi's OTG](deavmi.md)
|
||||
2. [Rany's OTG](rany.md)
|
||||
1. [Deavmi's OTG](deavmi.md)
|
|
@ -1,35 +0,0 @@
|
|||
Rany's _on-the-go_
|
||||
====================
|
||||
|
||||
## How to use it
|
||||
|
||||
All you need to do to get setup with Rany's On-the-go is the following (run it in your terminal):
|
||||
|
||||
```bash
|
||||
#!/bin/sh
|
||||
|
||||
privkey=$(wg genkey)
|
||||
pubkey=$(printf %s "$privkey" | wg pubkey)
|
||||
|
||||
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
|
||||
[Interface]
|
||||
PrivateKey = $privkey
|
||||
Address = $myaddr/8
|
||||
MTU = 1280
|
||||
|
||||
[Peer]
|
||||
PublicKey = $serverpubkey
|
||||
AllowedIPs = fd00::/8
|
||||
Endpoint = $serveraddr
|
||||
PersistentKeepalive = 25
|
||||
EOF
|
||||
|
||||
exit 0
|
||||
```
|
Loading…
Reference in New Issue