diff --git a/_posts/2025-12-22-qbittorrent-through-a-vpn-with-podman.md b/_posts/2025-12-22-qbittorrent-through-a-vpn-with-podman.md index 6f3f8be..bfcf95b 100644 --- a/_posts/2025-12-22-qbittorrent-through-a-vpn-with-podman.md +++ b/_posts/2025-12-22-qbittorrent-through-a-vpn-with-podman.md @@ -92,17 +92,11 @@ AllowedIPs = 0.0.0.0/0, ::/0 Endpoint = :51820 ``` -To create the secrets you'll need to first derive the public key from the private key: -```bash -echo -n "private_key" > privkey -wg pubkey < privkey -``` - -Then you can create the secrets +You can create the following secrets: ```bash echo -n "private_key" > /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 echo -n "endpoint_IP" > /tmp/secret podman secret create wg_ip /tmp/secret