From 7ea92ddd3ad42a5f47f45510ad00085a3be15fec Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 11 Feb 2026 05:48:52 -0700 Subject: [PATCH] add config and set compose to use it --- lxc2/qbittorrent/gluetun/airvpn-ca.conf | 13 +++++++++++++ lxc2/qbittorrent/qbittorrent.yml | 23 ++++++++--------------- 2 files changed, 21 insertions(+), 15 deletions(-) create mode 100644 lxc2/qbittorrent/gluetun/airvpn-ca.conf diff --git a/lxc2/qbittorrent/gluetun/airvpn-ca.conf b/lxc2/qbittorrent/gluetun/airvpn-ca.conf new file mode 100644 index 0000000..0d23b72 --- /dev/null +++ b/lxc2/qbittorrent/gluetun/airvpn-ca.conf @@ -0,0 +1,13 @@ +[Interface] +Address = 10.186.81.191/32,fd7d:76ee:e68f:a993:9ba:d4f1:4a9f:2f8f/128 +PrivateKey = ECCy5yvuw44r9gwVBV0dm6lkwYgj9TooW1FEj4LK8X4= +MTU = 1320 +DNS = 10.128.0.1, fd7d:76ee:e68f:a993::1 + +[Peer] +PublicKey = PyLCXAQT8KkM4T+dUsOQfn+Ub3pGxfGlxkIApuig+hk= +PresharedKey = 3eL2dzBilN+dmKGGXwOzUwGKpBJkKZELos/6GurIb/8= +Endpoint = ca3.vpn.airdns.org:1637 +AllowedIPs = 0.0.0.0/0,::/0 +PersistentKeepalive = 15 + diff --git a/lxc2/qbittorrent/qbittorrent.yml b/lxc2/qbittorrent/qbittorrent.yml index 96012a1..1ce4f9f 100755 --- a/lxc2/qbittorrent/qbittorrent.yml +++ b/lxc2/qbittorrent/qbittorrent.yml @@ -9,26 +9,19 @@ services: mem_limit: "1024m" mem_reservation: "128m" environment: - # Core VPN config - VPN_SERVICE_PROVIDER=airvpn - VPN_TYPE=wireguard - - # From your WireGuard config: - - WIREGUARD_PRIVATE_KEY=ECCy5yvuw44r9gwVBV0dm6lkwYgj9TooW1FEj4LK8X4= - - WIREGUARD_PRESHARED_KEY=3eL2dzBilN+dmKGGXwOzUwGKpBJkKZELos/6GurIb/8= # if present in config - - WIREGUARD_ADDRESSES=10.186.81.191/32 # from your [Interface] Address - # Endpoint — use resolved IP instead of domain: - - SERVER_COUNTRIES=Canada - #- WIREGUARD_ENDPOINT_IP=184.75.223.197 - #- WIREGUARD_ENDPOINT_PORT=1637 # matches AirVPN WG port - - WIREGUARD_MTU=1280 - # Port forwarding for torrenting - - FIREWALL_VPN_INPUT_PORTS=30754 + #- WIREGUARD_PRIVATE_KEY=ECCy5yvuw44r9gwVBV0dm6lkwYgj9TooW1FEj4LK8X4= + #- WIREGUARD_PRESHARED_KEY=3eL2dzBilN+dmKGGXwOzUwGKpBJkKZELos/6GurIb/8= + #- WIREGUARD_ADDRESSES=10.186.81.191/32 + #- SERVER_COUNTRIES=Canada + #- FIREWALL_VPN_INPUT_PORTS=30754 + volumes: + - /docker/qbittorrent/gluetun/airvpn-ca.conf:/gluetun/wireguard/wg0.conf ports: - 8080:8080 # qBittorrent Web UI - - 30754:30754 # torrent port TCP - - 30754:30754/udp # torrent port UDP + qbittorrent: image: lscr.io/linuxserver/qbittorrent:latest