• 0 Posts
  • 2 Comments
Joined 2 months ago
cake
Cake day: July 22nd, 2024

help-circle
  • makussutoich_ielIch🐮📺iel
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    11 days ago

    Mit Compose super einfach. Bitorrent container an den vpn container “heften” und los gehts. Geht mit

    wireguard: 
      image: lscr.io/linuxserver/wireguard
      container_name: wireguard
      cap_add: 
        - NET_ADMIN 
        - SYS_MODULE 
      environment: 
        - PUID=1000
        - PGID=1000
        - TZ=Europe/London 
        - SERVERPORT=51820 
        #optional - INTERNAL_SUBNET=10.13.13.0 
        - ALLOWEDIPS=0.0.0.0/0 
      volumes: 
        - some_path/wireguard:/config 
        - /lib/modules:/lib/modules
      ports: 
        - 8686:8686
    
    qbittorrent: 
      image: lscr.io/linuxserver/qbittorrent
      container_name: qbit
      cap_add: 
        - NET_ADMIN
      privileged: true
      network_mode: "service:wireguard"
    

    Die ports werden dann beim wireguard container weitergegeben. In der wireguard config sollte man dann nur nicht den killswitch vergessen.