Jump to content

jo625

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by jo625

  1. Cross-posting what I've already posted on the rtorrent thread, as my main focus is now using qBittorrent instead. 

     

    Hi @binhex

    First, thanks a lot for these containers, have been using arch-rtorrentvpn for quite some time and been pretty happy with it - not on unraid but on a qnap NAS via AirVPN (a UDP OpenVPN Linux config retrieved via the dedicated airvpn page). I recently noticed a drop in bandwidth and decided to clean my install and rewrite the whole docker-compose file after reading your documentation VPN page. I've tried both the rtorrent and qbittorrent containers, via openvpn or wireguard, but I cannot get decent bandwidth with linux torrents, and the port I've got open on airvpn for port forwarding always appears to be closed when trying to reach it via yougetsignal. 

     

    As a baseline, using QNAP Download Station on Ubuntu torrents gets me 60MBps, and using a standard qbittorrent from linuxserver with no VPN, I get 40MBps. Having 1/1000 that bandwidth, and reading on your doc that it must be a port forwarding issue, I requested port 62821-62825 on airvpn, and modified the qBittorrent.conf  `Session\Port=62821 and Connection\PortRangeMin=62821`

    Just in case, I pulled the latest images, set PUID and PGID to 0. It seems like my containers are not set to priviledged when using wireguard since I get the error from Q23 `[warn] WireGuard interface failed to come 'up', exit code is '1'`. So I focused on OpenVPN config

    No matter what I tried, I cannot get it to download faster than 1KBps. I did set VPN_INPUT_PORTS and VPN_OUTPUT_PORTS to 62821, but then realized these are used for inter-containers communication, which I am not using at the moment. I've tried with both a AirVPN_Netherlands_TCP-443.ovpn and AirVPN_Netherlands_UDP-443.ovpn openvpn file with no luck.


    Here is my Qbittorrent docker-compose file

    Spoiler
    version: '3'
    
    services:
      qbittorrentvpn:
        image: binhex/arch-qbittorrentvpn:latest
        container_name: qbittorrentvpn 
        restart: unless-stopped
        # OpenVPN
        cap_add:
          - NET_ADMIN
        # WIREGUARD
        #privileged: true
        #sysctls:
        #  - net.ipv4.conf.all.src_valid_mark=1
        # COMMMON
        ports: 
            - 61821:61821  # 6881
            - 61821:61821/udp # 6881/udp
            - 8030:8080 
            - 8118:8118 
        volumes: 
            - /share/DockerApps/downloads_qbittorrent:/data 
            - /share/DockerApps/config/qbittorrentvpn:/config 
            - /etc/localtime:/etc/localtime:ro         
        environment: 
          # OPENVPN or WIREGUARD
          - VPN_ENABLED=yes 
          - VPN_PROV=airvpn # airvpn custom
          - VPN_CLIENT=openvpn # openvpn wireguard
          - STRICT_PORT_FORWARD=yes 
          #- VPN_INPUT_PORTS=61821
          #- VPN_OUTPUT_PORTS=61821
          # LAN CONFIG
          - LAN_NETWORK=192.168.2.0/24 
          - NAME_SERVERS=209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1 \
          - DEBUG=true 
          - VPN_USER=admin 
          - VPN_PASS=mypassword 
          # PLUGINS
          #- ENABLE_FLOOD=yes
          - ENABLE_PRIVOXY=yes 
          # LOGINS
          - WEBUI_USER=admin 
          - WEBUI_PORT=8080 
          - WEBUI_PASS=PWIz6hDg7GJLipOqUuP9 
          # OTHER
          - PUID=0 # 1000
          - PGID=0 # 100
          - UMASK=000 
          - PHP_TZ="Europe/Paris" # UTC
          
         
    #    networks: 
    #      - backend
    #    
    #networks:
    #  backend:
    #    # driver: "bridge"
    #    name: website # networks can be named since version 3.5
        

     

     

    And my qBittorrent.conf file: 

    Spoiler
    [AutoRun]
    enabled=false
    program=
    
    [BitTorrent]
    Session\AlternativeGlobalDLSpeedLimit=100024
    Session\AlternativeGlobalUPSpeedLimit=100024
    Session\DefaultSavePath=/data/
    Session\GlobalDLSpeedLimit=100024
    Session\GlobalUPSpeedLimit=100024
    Session\Port=61821
    Session\QueueingSystemEnabled=true
    Session\TempPath=/data/incomplete/
    Session\UseAlternativeGlobalSpeedLimit=true
    
    [Core]
    AutoDeleteAddedTorrentFile=Never
    
    [LegalNotice]
    Accepted=true
    
    [Meta]
    MigrationVersion=3
    
    [Network]
    PortForwardingEnabled=true
    Proxy\OnlyForTorrents=false
    
    [Preferences]
    Advanced\RecheckOnCompletion=false
    Advanced\trackerPort=9000
    Connection\PortRangeMin=61821
    Connection\ResolvePeerCountries=true
    Connection\UPnP=false
    Downloads\SavePath=/data/
    Downloads\TempPath=/data/incomplete/
    DynDNS\DomainName=changeme.dyndns.org
    DynDNS\Enabled=false
    DynDNS\Password=
    DynDNS\Service=DynDNS
    DynDNS\Username=
    General\Locale=en
    General\UseRandomPort=false
    MailNotification\email=
    MailNotification\enabled=false
    MailNotification\password=
    MailNotification\req_auth=true
    MailNotification\req_ssl=false
    MailNotification\[email protected]
    MailNotification\smtp_server=smtp.changeme.com
    MailNotification\username=
    WebUI\Address=*
    WebUI\AlternativeUIEnabled=false
    WebUI\AuthSubnetWhitelist=@Invalid()
    WebUI\AuthSubnetWhitelistEnabled=false
    WebUI\BanDuration=3600
    WebUI\CSRFProtection=false
    WebUI\ClickjackingProtection=true
    WebUI\CustomHTTPHeaders=
    WebUI\CustomHTTPHeadersEnabled=false
    WebUI\HTTPS\CertificatePath=
    WebUI\HTTPS\Enabled=false
    WebUI\HTTPS\KeyPath=
    WebUI\HostHeaderValidation=false
    WebUI\LocalHostAuth=false
    WebUI\MaxAuthenticationFailCount=5
    WebUI\Password_PBKDF2="@ByteArray(5+VVDeDKtrphM8Cy38vFKA==:mD4wtuE1aAJOPy3y9Hj0jUVT6kr1DjRxLBT/Zdj+f7qEVWcE/3QRmsGwdQA6BdrtBUlSS7VtggGDeyqkQNPZhw==)"
    WebUI\Port=8080
    WebUI\ReverseProxySupportEnabled=false
    WebUI\RootFolder=
    WebUI\SecureCookie=true
    WebUI\ServerDomains=*
    WebUI\SessionTimeout=3600
    WebUI\TrustedReverseProxiesList=
    WebUI\UseUPnP=false
    WebUI\Username=admin
    
    [RSS]
    AutoDownloader\DownloadRepacks=true
    AutoDownloader\SmartEpisodeFilter=s(\\d+)e(\\d+), (\\d+)x(\\d+), "(\\d{4}[.\\-]\\d{1,2}[.\\-]\\d{1,2})", "(\\d{1,2}[.\\-]\\d{1,2}[.\\-]\\d{4})"

     

     

    Here are my [logs dump](https://pastebin.com/SRJ7mEsu) with debug mode set to true for the rtorrent/OpenVPN container - not obfuscated, passwords are random.

     

    Would love some pointers to get it to work back again, thanks a lot!

    Best,

  2. Hi @binhex

    First, thanks a lot for these containers, have been using arch-rtorrentvpn for quite some time and been pretty happy with it - not on unraid but on a qnap NAS via AirVPN (a UDP OpenVPN Linux config retrieved via the dedicated airvpn page). I recently noticed a drop in bandwidth and decided to clean my install and rewrite the whole docker-compose file after reading your documentation VPN page. I've tried both the rtorrent and qbittorrent containers, via openvpn or wireguard, but I cannot get decent bandwidth, and the port I've got open on airvpn for port forwarding always appears to be closed when trying to reach it via yougetsignal. 

     

    As a baseline, using QNAP Download Station on Ubuntu torrents gets me 60MBps, and using a standard qbittorrent from linuxserver with no VPN, I get 40MBps. Having 1/1000 that bandwidth, and reading on your doc that it must be a port forwarding issue, I requested port 62821-62825 on airvpn, and modified:

    • the rtorrent.rc config `network.port_range.set = 61821-61821 and dht.port.set = 61821` and commented out the `#execute = {/bin/bash,-c,mkdir -p /data/incomplete}` line
    • as well as the qBittorrent.conf  `Session\Port=62821 and Connection\PortRangeMin=62821`

    Just in case, I pulled the latest images, set PUID and PGID to 0. It seems like my containers are not set to priviledged when using wireguard since I get the error from Q23 `[warn] WireGuard interface failed to come 'up', exit code is '1'`. So I focused on OpenVPN config

    No matter what I tried, I cannot get it to work. I did set VPN_INPUT_PORTS and VPN_OUTPUT_PORTS to 62821, but then realized these are used for inter-containers communication, which I am not using at the moment. I've tried with both a AirVPN_Netherlands_TCP-443.ovpn and AirVPN_Netherlands_UDP-443.ovpn openvpn file with no luck.

     

    Here are my docker-compose files: 

    rutorrent

    Spoiler
    version: '3.5'
    services:
      rutorrentvpn:
        image: binhex/arch-rtorrentvpn:latest
        container_name: rutorrentvpn
        restart: "no" # unless-stopped
        # OpenVPN
        cap_add:
          - NET_ADMIN
        # WIREGUARD
        #privileged: true
        #sysctls:
        #  - net.ipv4.conf.all.src_valid_mark=1
        ports:
          - 8083:9080 # 8083 or newer 9001
          - 9443:9443
          - 8118:8118
          - 61821:61821  # 6881
          - 61821:61821/udp # 6881/udp
        environment:
          # OPENVPN or WIREGUARD
          - VPN_ENABLED=yes 
          - VPN_PROV=airvpn # airvpn custom
          - VPN_CLIENT=openvpn # openvpn wireguard
          - STRICT_PORT_FORWARD=yes 
          #- VPN_INPUT_PORTS=61821
          #- VPN_OUTPUT_PORTS=61821
          # LAN CONFIG
          - LAN_NETWORK=192.168.2.0/24 
          - NAME_SERVERS=209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1 \
          - DEBUG=true 
          - VPN_USER=admin 
          - VPN_PASS=mypassword 
          # PLUGINS
          #- ENABLE_FLOOD=yes
          - ENABLE_PRIVOXY=yes 
          - ENABLE_AUTODL_IRSSI=no 
          - ENABLE_RPC2=yes 
          - ENABLE_RPC2_AUTH=yes 
          - ENABLE_WEBUI_AUTH=yes 
          # LOGINS
          - RPC2_USER=admin 
          - RPC2_PASS=PWIz6hDg7GJLipOqUuP9 
          - WEBUI_USER=admin 
          - WEBUI_PASS=PWIz6hDg7GJLipOqUuP9 
          # OTHER
          - PUID=0 # 1000
          - PGID=0 # 100
          - UMASK=000 
          - PHP_TZ="Europe/Paris" # UTC
        volumes:
          - /share/DockerApps/config/rutorrentvpn:/config
          - /share/DockerApps/downloads_rutorrentvpn:/data
          - /etc/localtime:/etc/localtime:ro
        networks: 
          - backend    
    networks:
      backend:
        # driver: "bridge"
        name: website # networks can be named since version 3.5

     

     

     

    Qbittorrent

    Spoiler
    version: '3'
    
    services:
      qbittorrentvpn:
        image: binhex/arch-qbittorrentvpn:latest
        container_name: qbittorrentvpn 
        restart: unless-stopped
        # OpenVPN
        cap_add:
          - NET_ADMIN
        # WIREGUARD
        #privileged: true
        #sysctls:
        #  - net.ipv4.conf.all.src_valid_mark=1
        # COMMMON
        ports: 
            - 61821:61821  # 6881
            - 61821:61821/udp # 6881/udp
            - 8030:8080 
            - 8118:8118 
        volumes: 
            - /share/DockerApps/downloads_qbittorrent:/data 
            - /share/DockerApps/config/qbittorrentvpn:/config 
            - /etc/localtime:/etc/localtime:ro         
        environment: 
          # OPENVPN or WIREGUARD
          - VPN_ENABLED=yes 
          - VPN_PROV=airvpn # airvpn custom
          - VPN_CLIENT=openvpn # openvpn wireguard
          - STRICT_PORT_FORWARD=yes 
          #- VPN_INPUT_PORTS=61821
          #- VPN_OUTPUT_PORTS=61821
          # LAN CONFIG
          - LAN_NETWORK=192.168.2.0/24 
          - NAME_SERVERS=209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1 \
          - DEBUG=true 
          - VPN_USER=admin 
          - VPN_PASS=mypassword 
          # PLUGINS
          #- ENABLE_FLOOD=yes
          - ENABLE_PRIVOXY=yes 
          # LOGINS
          - WEBUI_USER=admin 
          - WEBUI_PORT=8080 
          - WEBUI_PASS=PWIz6hDg7GJLipOqUuP9 
          # OTHER
          - PUID=0 # 1000
          - PGID=0 # 100
          - UMASK=000 
          - PHP_TZ="Europe/Paris" # UTC
          
         
    #    networks: 
    #      - backend
    #    
    #networks:
    #  backend:
    #    # driver: "bridge"
    #    name: website # networks can be named since version 3.5
        

     

     

     

    Here are my [logs dump](https://pastebin.com/SRJ7mEsu) with debud mode set to true for the rtorrent/OpenVPN container - not obfuscated, passwords are random.

     

    Would love some pointers to get it to work back again!

    Best,

×
×
  • Create New...