post update: qbittorrent
This commit is contained in:
1 parent
1e1683ad73
commit
8a9b38f99b
1 file changed
+2
-8
@@ -92,17 +92,11 @@ AllowedIPs = 0.0.0.0/0, ::/0
|
|||||||
Endpoint = <endpoint_IP>:51820
|
Endpoint = <endpoint_IP>:51820
|
||||||
```
|
```
|
||||||
|
|
||||||
To create the secrets you'll need to first derive the public key from the private key:
|
You can create the following secrets:
|
||||||
```bash
|
|
||||||
echo -n "private_key" > privkey
|
|
||||||
wg pubkey < privkey
|
|
||||||
```
|
|
||||||
|
|
||||||
Then you can create the secrets
|
|
||||||
```bash
|
```bash
|
||||||
echo -n "private_key" > /tmp/secret
|
echo -n "private_key" > /tmp/secret
|
||||||
podman secret create wg_sk /tmp/secret
|
podman secret create wg_sk /tmp/secret
|
||||||
echo -n "public_key" > /tmp/secret
|
echo -n "peer_public_key" > /tmp/secret
|
||||||
podman secret create wg_pk /tmp/secret
|
podman secret create wg_pk /tmp/secret
|
||||||
echo -n "endpoint_IP" > /tmp/secret
|
echo -n "endpoint_IP" > /tmp/secret
|
||||||
podman secret create wg_ip /tmp/secret
|
podman secret create wg_ip /tmp/secret
|
||||||
|
|||||||
Reference in new issue
Block a user