Giter VIP home page Giter VIP logo

docker-deluge-openvpn's People

Contributors

aaronblair avatar aerickson avatar alron avatar borysekondrej avatar bperel avatar clocklear avatar d5ve avatar dan1el avatar dulanic avatar e7d avatar echaupynx avatar eugenioseveri avatar g-be avatar gthicks avatar haugene avatar himred avatar ianneub avatar jandrews377 avatar jaysonsantos avatar maxportmc avatar othou avatar packruler avatar pandrez avatar printgeek avatar pyle avatar qoobaa avatar schmas avatar sgtsquiggs avatar shuaiscott avatar sillyfrog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-deluge-openvpn's Issues

CyberGhost custom provider: for sake of posterity

Hello,

I've been fiddling with a custom provider for quite some time now. The provider is called CyberGhost.
The key to fixing it was removing all relative paths inside the .ovpn file.

My file structure looks like this:
/srv/docker/delugevpn/
---- openvpn/
-------- ca.crt
-------- client.crt
-------- client.key
-------- credentials.conf
-------- openvpn.ovpn
---- config/
---- docker-compose.yml

My docker-compose.yml looks like this:

version: '2'
services:
 deluge:
    image: sgtsquiggs/deluge-openvpn:v2
    container_name: deluge
    mem_limit: 4096m
    environment:
      - PUID=1000
      - PGID=1000
      - UMASK=0664
      - TZ=US/Eastern
      - OPENVPN_PROVIDER=CUSTOM
      - OPENVPN_USERNAME={username}
      - OPENVPN_PASSWORD={password}
      - OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60
      - LOCAL_NETWORK=192.168.178.0/24
    volumes:
      - ./openvpn/openvpn.ovpn:/etc/openvpn/custom/default.ovpn
      - ./openvpn/client.crt:/etc/openvpn/custom/client.crt
      - ./openvpn/ca.crt:/etc/openvpn/custom/ca.crt
      - ./openvpn/client.key:/etc/openvpn/custom/client.key
      - ./openvpn/credentials.conf:/etc/openvpn/custom/credentials.conf
      - ./config:/config
      - /mnt/king1/downloads:/downloads
      - /etc/localtime:/etc/localtime:ro
    dns:
      - 1.1.1.1
      - 1.0.0.1
    ports:
      - 8112:8112
      - 58846:58846
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun
    restart: unless-stopped

My ./openvpn/openvpn.ovpn file looks like this:

remote 87-1-pk.cg-dialup.net 443
client
dev tun
proto udp
auth-user-pass /etc/openvpn/custom/credentials.conf


resolv-retry infinite
redirect-gateway def1
persist-key
nobind
cipher AES-256-CBC
auth SHA256
ping 5
ping-exit 60
ping-timer-rem
explicit-exit-notify 2
script-security 2
remote-cert-tls server
route-delay 5
verb 4


ca /etc/openvpn/custom/ca.crt

cert /etc/openvpn/custom/client.crt

key /etc/openvpn/custom/client.key

You can close this issue immediately. This seems like the best place to share it.

Error on startup: RTNETLINK answers: permission denied

Problem:
starting container using suggested options causes container to stop after receiving the titular error. This is caused by the container not having IPV6 fully enabled.

Suggested solution:
Adding:
--sysctl net.ipv6.conf.all.disable_ipv6=0
to the "docker run" line, or automatically setting the option somewhere else.

Warning: not a trained docker pro, so this error might just be on me having misconfigured something. It's a fresh install of docker from the default ubuntu repositories.

Possibly relevant info:

hatman@tricorne:~$ hostnamectl
   Static hostname: tricorne
         Icon name: computer-server
           Chassis: server
        Machine ID: 77d3e09a895a447ba207bbffb8dce877
           Boot ID: b8727fa8dbe34011950d874995893f99
  Operating System: Ubuntu 18.04.4 LTS
            Kernel: Linux 4.15.0-88-generic
      Architecture: x86-64
hatman@tricorne:~$ docker --version
Docker version 19.03.6, build 369ce74a3c

docker logs:
log.txt

Docker Compose support

I see on the Dockerhub page for this container that you create and start the container by using the docker run command. I can't see an option to start this using Compose, so I'm assuming that Compose isn't supported by this container. If this is the case, will it ever be supported, and if this is not the case and I can start the container using Compose, could you tell me how I can do so?

Fresh Container Crashes

Freshly attempting to use the sgtsquiggs/deluge-openvpn:arm32v7-latest docker container. It appears setup and even connection goes well, until a "non-clean fashion" error appears, which immediately causes the container to crash and restart.

The webUI is available up to this point.

docker run --cap-add=NET_ADMIN --device=/dev/net/tun -d \
              --restart unless-stopped \
              -v /share/CACHEDEV2_DATA/Containers/deluge/config/:/config \
              -v /share/downloads:/downloads \
              -v /etc/localtime:/etc/localtime:ro \
              -e TZ=US/Eastern \
              -e OPENVPN_PROVIDER=IPVANISH \
              -e OPENVPN_CONFIG=ipvanish-US-New-York-nyc-a17,ipvanish-US-Boston-bos-c04,ipvanish-US-New-York-nyc-a11  \
              -e OPENVPN_USERNAME={user} \
              -e OPENVPN_PASSWORD={password}\
              -e LOCAL_NETWORK={localsubnet}/24 \
              -p 8112:8112 \
              sgtsquiggs/deluge-openvpn:arm32v7-latest
-------------------------------------                                                                                                                    
          _         ()                   
         | |  ___   _    __                                                                                                                              
         | | / __| | |  /  \                                                                                                                             
         | | \__ \ | | | () |                                                                                                                            
         |_| |___/ |_|  \__/                                                                                                                             
                                                                                                                                                         
                                                                                                                                                         
Brought to you by linuxserver.io                                                                                                                         
We gratefully accept donations at:                                                                                                                       
https://www.linuxserver.io/donate/                                                                                                                       
-------------------------------------                                                                                                                    
GID/UID                                                                                                                                                  
-------------------------------------                                                                                                                    
                                                                                                                                                         
User uid:    911                                                                                                                                         
User gid:    911                                                                                                                                         
-------------------------------------                                                                                                                    
                                   
[cont-init.d] 10-adduser: exited 0.                                                                                                                                                                                                                                                                                        
[cont-init.d] 20-config: executing...                                                                                                                                                                                                                                                                                      
cp: cannot stat '/defaults/settings.sh': No such file or directory                                                                                                                                                                                                                                                         
[cont-init.d] 20-config: exited 1.                                                                                                                                                                                                                                                                                         
[cont-init.d] 30-config: executing...                                                                                                                                                                                                                                                                                      
[cont-init.d] 30-config: exited 0.                                                                                                                                                                                                                                                                                         
[cont-init.d] 99-custom-scripts: executing...                                                                                                                                                                                                                                                                              
[custom-init] no custom files found exiting...                                                                                                                                                                                                                                                                             
[cont-init.d] 99-custom-scripts: exited 0.                                                                                                                                                                                                                                                                                 
[cont-init.d] done.                                                                                                                                                                                                                                                                                                        
[services.d] starting services                                                                                                                                                                                                                                                                                             
[services.d] done.                                                                                                                                                                                                                                                                                                         
Fri Jul 17 18:11:56 2020 [start-openvpn] Using OpenVPN provider: IPVANISH                                                                                                                                                                                                                                                  
Fri Jul 17 18:11:56 2020 [start-openvpn] 3 servers found in OPENVPN_CONFIG, ipvanish-US-Boston-bos-c04 chosen randomly                                                                                                                                                                                                     
Fri Jul 17 18:11:56 2020 [start-openvpn] Starting OpenVPN using config ipvanish-US-Boston-bos-c04.ovpn                                                                                                                                                                                                                     
Fri Jul 17 18:11:56 2020 [start-openvpn] Setting OPENVPN credentials...                                                                                                                                                                                                                                                    
Fri Jul 17 18:11:56 2020 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6                                                                                                                                                                                                                               
Fri Jul 17 18:11:56 2020 OpenVPN 2.4.4 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 14 2019                                                                                                                                                                   
Fri Jul 17 18:11:56 2020 library versions: OpenSSL 1.1.1  11 Sep 2018, LZO 2.08                                                                                                                                                                                                                                            
Fri Jul 17 18:11:56 2020 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts                                                                                                                                                                                             
Fri Jul 17 18:11:56 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]remote:443                                                                                                                                                                                                                    
Fri Jul 17 18:11:56 2020 Socket Buffers: R=[163840->163840] S=[163840->163840]                                                                                                                                                                                                                                             
Fri Jul 17 18:11:56 2020 UDP link local: (not bound)                                                                                                                                                                                                                                                                       
Fri Jul 17 18:11:56 2020 UDP link remote: [AF_INET]remote:443                                                                                                                                                                                                                                                     
Fri Jul 17 18:11:56 2020 TLS: Initial packet from [AF_INET]remote:443, sid=9888febe ca5ce16c                                                                                                                                                                                                                      
Fri Jul 17 18:11:56 2020 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this                                                                                                                                                                                          
Fri Jul 17 18:11:56 2020 VERIFY OK: depth=1, C=US, ST=FL, L=Winter Park, O=IPVanish, OU=IPVanish VPN, CN=IPVanish CA, [email protected]                                                                                                                                                                    
Fri Jul 17 18:11:56 2020 VERIFY X509NAME OK: C=US, ST=FL, L=Winter Park, O=IPVanish, OU=IPVanish VPN, CN=bos-c04.ipvanish.com, [email protected]                                                                                                                                                           
Fri Jul 17 18:11:56 2020 VERIFY OK: depth=0, C=US, ST=FL, L=Winter Park, O=IPVanish, OU=IPVanish VPN, CN=bos-c04.ipvanish.com, [email protected]                                                                                                                                                           
Fri Jul 17 18:11:56 2020 Control Channel: TLSv1.2, cipher SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA                                                                                                                                                                                                                           
Fri Jul 17 18:11:56 2020 [bos-c04.ipvanish.com] Peer Connection Initiated with [AF_INET]remote:443                                                                                                                                                                                                                
Fri Jul 17 18:11:57 2020 SENT CONTROL [bos-c04.ipvanish.com]: 'PUSH_REQUEST' (status=1)                                                                                                                                                                                                                                    
Fri Jul 17 18:11:58 2020 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 198.18.0.1,dhcp-option DNS 198.18.0.2,rcvbuf 493216,sndbuf 493216,explicit-exit-notify 5,comp-lzo no,route-gateway 172.21.20.1,topology subnet,ping 20,ping-restart 40,ifconfig 172.21.21.93 255.255
.254.0,peer-id 0,cipher AES-256-GCM'                                                                                                                                                                                                                                                                                       
Fri Jul 17 18:11:58 2020 Option 'explicit-exit-notify' in [PUSH-OPTIONS]:6 is ignored by previous <connection> blocks                                                                                                                                                                                                      
Fri Jul 17 18:11:58 2020 OPTIONS IMPORT: timers and/or timeouts modified                                                                                                                                                                                                                                                   
Fri Jul 17 18:11:58 2020 OPTIONS IMPORT: explicit notify parm(s) modified                                                                                                                                                                                                                                                  
Fri Jul 17 18:11:58 2020 OPTIONS IMPORT: compression parms modified                                                                                                                                                                                                                                                        
Fri Jul 17 18:11:58 2020 OPTIONS IMPORT: --sndbuf/--rcvbuf options modified                                                                                                                                                                                                                                                
Fri Jul 17 18:11:58 2020 Socket Buffers: R=[163840->986432] S=[163840->986432]                                                                                                                                                                                                                                             
Fri Jul 17 18:11:58 2020 OPTIONS IMPORT: --ifconfig/up options modified                                                                                                                                                                                                                                                    
Fri Jul 17 18:11:58 2020 OPTIONS IMPORT: route options modified                                                                                                                                                                                                                                                            
Fri Jul 17 18:11:58 2020 OPTIONS IMPORT: route-related options modified
Fri Jul 17 18:11:58 2020 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified                                                                                                                                                                                                                                  
Fri Jul 17 18:11:58 2020 OPTIONS IMPORT: peer-id set                                                                                                                                                                                                                                                                       
Fri Jul 17 18:11:58 2020 OPTIONS IMPORT: adjusting link_mtu to 1625                                                                                                                                                                                                                                                        
Fri Jul 17 18:11:58 2020 OPTIONS IMPORT: data channel crypto options modified                                                                                                                                                                                                                                              
Fri Jul 17 18:11:58 2020 Data Channel: using negotiated cipher 'AES-256-GCM'                                                                                                                                                                                                                                               
Fri Jul 17 18:11:58 2020 NCP: overriding user-set keysize with default                                                                                                                                                                                                                                                     
Fri Jul 17 18:11:58 2020 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key                                                                                                                                                                                                                          
Fri Jul 17 18:11:58 2020 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key                                                                                                                                                                                                                          
Fri Jul 17 18:11:58 2020 ROUTE_GATEWAY 10.0.3.1/255.255.255.0 IFACE=eth0 HWADDR=02:42:0a:00:03:02                                                                                                                                                                                                                          
Fri Jul 17 18:11:58 2020 TUN/TAP device tun0 opened                                                                                                                                                                                                                                                                        
Fri Jul 17 18:11:58 2020 TUN/TAP TX queue length set to 100                                                                                                                                                                                                                                                                
Fri Jul 17 18:11:58 2020 do_ifconfig, tt->did_ifconfig_ipv6_setup=0                                                                                                                                                                                                                                                        
Fri Jul 17 18:11:58 2020 /sbin/ip link set dev tun0 up mtu 1500                                                                                                                                                                                                                                                            
Fri Jul 17 18:11:58 2020 /sbin/ip addr add dev tun0 172.21.21.93/23 broadcast 172.21.21.255                                                                                                                                                                                                                                
Fri Jul 17 18:11:58 2020 /etc/openvpn/tunnelUp.sh tun0 1500 1553 172.21.21.93 255.255.254.0 init                                                                                                                                                                                                                           
Fri Jul 17 18:11:58 2020 [tunnel-up] Up script executed with tun0 1500 1553 172.21.21.93 255.255.254.0 init                                                                                                                                                                                                                
Fri Jul 17 18:11:58 2020 [tunnel-up] Using ip of interface tun0: 172.21.21.93                                                                                                                                                                                                                                              
Fri Jul 17 18:11:58 2020 [tunnel-up] Updating Deluge conf file: listen_interface=172.21.21.93                                                                                                                                                                                                                              
Fri Jul 17 18:11:58 2020 [tunnel-up] Starting Deluge                                                                                                                                                                                                                                                                       
Fri Jul 17 18:11:58 2020 [tunnel-up] Setting Deluge listen_interface                                                                                                                                                                                                                                                       
18:11:58 [WARNING ][deluge.i18n.util           :83  ] IOError when loading translations: [Errno 2] No translation file found for domain: 'deluge'                                                                                                                                                                          
18:11:58 [INFO    ][deluge.configmanager:52  ] Setting config directory to: /config                                                                                                                                                                                                                                        
18:11:59 [INFO    ][deluge.core.daemon            :94  ] Deluge daemon 2.0.3-2-201906121747-ubuntu18.04.1                                                                                                                                                                                                                  
18:11:59 [INFO    ][deluge.core.core              :339 ] Successfully loaded session.state: /config/session.state                                                                                                                                                                                                          
18:11:59 [INFO    ][deluge.core.core              :339 ] Successfully loaded session.state: /config/session.state.bak                                                                                                                                                                                                      
18:11:59 [INFO    ][deluge.core.alertmanager      :148 ] Alert Queue Size set to 10000                                                                                                                                                                                                                                     
18:11:59 [INFO    ][deluge.core.rpcserver         :402 ] Starting DelugeRPC server localhost:58846                                                                                                                                                                                                                         
18:11:59 [INFO    ][twisted                       :154 ] Factory (TLS) starting on 58846                                                                                                                                                                                                                                   
18:11:59 [INFO    ][twisted                       :154 ] Starting factory <twisted.internet.protocol.Factory object at 0x7398eab0>                                                                                                                                                                                         
18:11:59 [INFO    ][deluge.core.daemon            :154 ] Deluge daemon starting...                                                                                                                                                                                                                                         
18:11:59 [INFO    ][deluge.core.authmanager       :228 ] Opening auth for load: /config/auth                                                                                                                                                                                                                               
18:11:59 [INFO    ][deluge.core.authmanager       :236 ] Successfully loaded auth: /config/auth                                                                                                                                                                                                                            
18:11:59 [INFO    ][deluge.core.torrentmanager    :806 ] Loading torrent state: /config/state/torrents.state                                                                                                                                                                                                               
18:11:59 [INFO    ][deluge.core.torrentmanager    :819 ] Successfully loaded /config/state/torrents.state                                                                                                                                                                                                                  
18:11:59 [INFO    ][deluge.core.torrentmanager    :1066] Opening torrents.fastresume for load: /config/state/torrents.fastresume                                                                                                                                                                                           
18:11:59 [INFO    ][deluge.core.torrentmanager    :1066] Opening torrents.fastresume for load: /config/state/torrents.fastresume.bak                                                                                                                                                                                       
18:11:59 [INFO    ][deluge.core.torrentmanager    :1066] Opening torrents.fastresume for load: /config/torrents.fastresume                                                                                                                                                                                                 
18:11:59 [INFO    ][deluge.core.torrentmanager    :885 ] Finished loading 0 torrents in 0:00:00.002795                                                                                                                                                                                                                     
18:12:11 [INFO    ][deluge.core.rpcserver         :171 ] Deluge Client connection made from: 127.0.0.1:60096                                                                                                                                                                                                               
Setting "listen_interface" to: 172.21.21.93                                                                                                                                                                                                                                                                                
Configuration value successfully updated.                                                                                                                                                                                                                                                                                  
18:12:11 [INFO    ][deluge.core.rpcserver         :197 ] Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.                                                                                
Fri Jul 17 18:12:11 2020 [tunnel-up] Adding route to local network local/24 via 10.0.3.1 dev eth0                                                 
Fri Jul 17 18:12:11 2020 [tunnel-up] No port updated for this provider!                                                                                  
Fri Jul 17 18:12:11 2020 [tunnel-up] Deluge startup script complete.                                                                                     
Fri Jul 17 18:12:11 2020 /sbin/ip route add remote/32 via 10.0.3.1                                                                              
Fri Jul 17 18:12:11 2020 /sbin/ip route add 0.0.0.0/1 via 172.21.20.1                                                                                    
Fri Jul 17 18:12:11 2020 /sbin/ip route add 128.0.0.0/1 via 172.21.20.1                                                                                  
Fri Jul 17 18:12:11 2020 Initialization Sequence Completed                                                                                               
18:12:14 [INFO    ][deluge.core.torrentmanager    :1609] on_alert_external_ip: 198.181.163.151                                                           
Fri Jul 17 18:12:22 2020 event_wait : Interrupted system call (code=4)                                                                                   
Fri Jul 17 18:12:22 2020 SIGTERM received, sending exit notification to peer                                                                             
[cont-finish.d] executing container finish scripts...                                                                                                    
[cont-finish.d] done.                                                                                                                                    
[s6-finish] waiting for services.                                                                                                                        
s6-svwait: fatal: supervisor died                                                                                                                        
[s6-finish] sending all processes the TERM signal.```

Not able to conect to web ui

Thu Apr 06 15:17:29 2023 [start-vpn] Configuring OPENVPN Thu Apr 06 15:17:29 2023 [start-vpn] Using OpenVPN provider: MULLVAD Running with VPN_CONFIG_SOURCE auto No bundled config script found for MULLVAD. Defaulting to external config Downloading configs from https://github.com/haugene/vpn-configs-contrib/archive/main.zip into /tmp/tmp.hFb8aSXc00 Extracting configs to /tmp/tmp.6QqAq95Rwo Found configs for MULLVAD in /tmp/tmp.6QqAq95Rwo/vpn-configs-contrib-main/openvpn/mullvad, will replace current content in /etc/openvpn/mullvad Cleanup: deleting /tmp/tmp.hFb8aSXc00 and /tmp/tmp.6QqAq95Rwo Thu Apr 06 15:17:32 2023 [start-vpn] Starting OpenVPN using config nl_ams.ovpn Modifying /etc/openvpn/mullvad/nl_ams.ovpn for best behaviour in this container Modification: Point auth-user-pass option to the username/password file Modification: Change ca certificate path Modification: Change ping options Modification: Update/set resolv-retry to 15 seconds Modification: Change tls-crypt keyfile path Modification: Set output verbosity to 3 Modification: Remap SIGUSR1 signal to SIGTERM, avoid OpenVPN restart loop Thu Apr 06 15:17:32 2023 [start-vpn] Setting OpenVPN credentials... Thu Apr 06 15:17:32 2023 [ufw-enable] Got local network 172.17.0.1 and CIDR on interface eth0 Thu Apr 06 15:17:32 2023 [ufw-enable] Firewall script executed with tun0 /etc/openvpn/mullvad/nl_ams.ovpn adding route to local network 192.168.1.0/24 via 172.17.0.1 dev eth0 RTNETLINK answers: Operation not permitted Thu Apr 06 15:17:32 2023 [start-vpn] Starting openvpn Thu Apr 6 15:17:32 2023 Note: option tun-ipv6 is ignored because modern operating systems do not need special IPv6 tun handling anymore. Thu Apr 6 15:17:32 2023 OpenVPN 2.4.4 aarch64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 19 2021 Thu Apr 6 15:17:32 2023 library versions: OpenSSL 1.1.1 11 Sep 2018, LZO 2.08 Thu Apr 6 15:17:32 2023 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Thu Apr 6 15:17:32 2023 TCP/UDP: Preserving recently used remote address: [AF_INET]185.65.134.132:1300 Thu Apr 6 15:17:32 2023 Socket Buffers: R=[212992->425984] S=[212992->425984] Thu Apr 6 15:17:32 2023 UDP link local: (not bound) Thu Apr 6 15:17:32 2023 UDP link remote: [AF_INET]185.65.134.132:1300

Hello, I recently switched from x86 to ARM and came across this GitHub repository. I've been trying to get it running for several hours now, but I don't know what I'm doing wrong or what I should change. Attached is the error code. I used Portainer.

screenshots:
https://www.dropbox.com/t/FhZNw4BOwIdYnu0w

Cannot connect to Sonarr using Docker compose

Hey! Thanks again for setting up this container it was exactly what I needed :+1

I am having some difficulty connecting Deluge to Sonarr/Radarr etc. using this container using docker compose. I have defined a network within the yml as below. Each service is available through my-host:8112 my-host:8989 etc. but Sonarr and Radarr cannot connect to Deluge when adding a download client using the default host:localhost port:8112. I appreciate this is probably more of a general Docker problem that specific to this container but any help you can offer would be great!

version: "3.5"
services:
  delugevpn:
    env_file:
      - ../docker-deluge-openvpn/DockerEnv #vpn stuff in repo folder, other containers use .env
    image: delugevpn
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun
    restart: unless-stopped
    ports:
      - "8112:8112"
      - "58846:58846"
    networks:
      - backend
    dns:
      - 8.8.8.8
      - 8.8.4.4
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /home/pi/docker/deluge:/config
      - ${ROOT}:/media

  sonarr:
    container_name: sonarr
    image: linuxserver/sonarr:latest
    restart: unless-stopped
    environment:
      - PUID=${PUID} # default user id, defined in .env
      - PGID=${PGID} # default group id, defined in .env
      - TZ=${TZ} # timezone, defined in .env
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ${ROOT}/config/sonarr:/config # config files
      - ${ROOT}/complete/tv:/tv # tv shows folder
      - ${ROOT}/downloads:/downloads # download folder
    ports:
      - 8989:8989
    networks:
      - backend

(Jackett Radarr and Bazarr clipped)

networks:
  backend:
    driver: bridge

Torguard Cert Error

I'm getting this cert error using Torguard:

Mon Apr 20 10:18:14 2020 TLS_ERROR: BIO read tls_read_plaintext error,
Mon Apr 20 10:18:14 2020 VERIFY ERROR: depth=1, error=self signed certificate in certificate chain: CN=TG-VPN-CA,
Mon Apr 20 10:18:14 2020 OpenSSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed,
Mon Apr 20 10:18:14 2020 TLS Error: TLS object -> incoming plaintext read error,
Mon Apr 20 10:18:14 2020 TLS Error: TLS handshake failed,
Mon Apr 20 10:18:14 2020 SIGUSR1[soft,tls-error] received, process restarting

IP6

How can I disable ipv6 so this error goes away?

Sun Nov 29 05:48:13 2020 GDG6: remote_host_ipv6=n/a,
Sun Nov 29 05:48:13 2020 ROUTE6: default_gateway=UNDEF,
Sun Nov 29 05:48:13 2020 TUN/TAP device tun0 opened,
Sun Nov 29 05:48:13 2020 TUN/TAP TX queue length set to 100,
Sun Nov 29 05:48:13 2020 do_ifconfig, tt->did_ifconfig_ipv6_setup=1,
Sun Nov 29 05:48:13 2020 /sbin/ip link set dev tun0 up mtu 1500,
Sun Nov 29 05:48:13 2020 /sbin/ip addr add dev tun0 10.11.0.23/16 broadcast 10.11.255.255,
Sun Nov 29 05:48:13 2020 /sbin/ip -6 addr add fdda:d0d0:cafe:1197::1015/64 dev tun0,
RTNETLINK answers: Permission denied,
Sun Nov 29 05:48:13 2020 Linux ip -6 addr add failed: external program exited with error status: 2,
Sun Nov 29 05:48:13 2020 Exiting due to fatal error,
[cont-finish.d] executing container finish scripts...,
[cont-finish.d] done.,
[s6-finish] waiting for services.,
[s6-finish] sending all processes the TERM signal.,
[s6-finish] sending all processes the KILL signal and exiting.,

VPN not masking ip address

Hello all! Full disclosure, I'm very new to this, so I apologize in advance for any naive mistakes I may have made. I had my torrent client working well on my Synology DS218+ through docker, but wanted to switch from Transmission to Deluge since I prefer the plugins and options you get. I kept all of the OpenVPN settings the same as I'd used in haugene's transmission OpenVPN and got the webui and deluge client working, but when I tested the VPN coverage with ipmagnet, the test VPN was registered as my ACTUAL ip address, instead of one from my VPN. I'm currently using PIA for my VPN client. Any recommendations for how to fix this?

NORD VPN servers are out of date

Hello,

Sorry to leave such a minor issue, but I could not figure out how to solve it on my own.

The NORD VPN servers contained within the image are out of date. At first I could not get this to work with NORD VPN untill I realized that all of the Canadian (and most of the USA) servers are no longer listed on the official NORD VPN server list. When I found a USA server that was still used, I swapped to it and everything worked great (well except for the speed).

I tried setting up NORD as a custom, following the directions and adding my best nord server as the default custom server. This worked, but my credentials (which had not changed) would not be accepted. I assume with NORD as a custom VPN there is a further issue I need to solve.

If it is not a giant issue can I get the NORD VPN server list updated? If it is a big issue, and no one uses NORD can I pass you my "best" CA server OVPN to bake into the image? If neither of those work, then just have my thanks as this is the first image I was actually able to get to work with NORD specifically.

Thanks for everything.

Create OPENVPN config folder

This capability would remove the need and constant requests to update particular VPN Provider config files. They change faster than you would like to administratively keep up to date. Allowing a volume map to an OPENVPN config folder allows users to add their particular provider config files. I've tried doing it manually but your built-in files are the only ones OPENVPN will reference and the docker fails to start if the provider host isn't one listed in what you provide.

IOError when loading translations: [Errno 2] No translation file found for domain: 'deluge' - VPN Tunnel Not Created

This is a new issue that's seemingly popped up overnight for me, I visited the WebUI today and noticed all of my downloads had stopped, and my IP address on the WebUI is my home's IP. I have PIA set up and it was working correctly until now, but I'm receiving the following error on boot:

2020-11-22 10:01:51,stdout,Sun Nov 22 02:01:51 2020 [start-openvpn] Using OpenVPN provider: PIA
2020-11-22 10:01:51,stdout,Sun Nov 22 02:01:51 2020 [start-openvpn] Starting OpenVPN using config US Silicon Valley.ovpn  
2020-11-22 10:01:51,stdout,Sun Nov 22 02:01:51 2020 [start-openvpn] Setting OPENVPN credentials...  
2020-11-22 10:01:52,stdout,Sun Nov 22 02:01:52 2020 OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 14 2019  
2020-11-22 10:01:52,stdout,"Sun Nov 22 02:01:52 2020 library versions: OpenSSL 1.1.1  11 Sep 2018, LZO 2.08  
2020-11-22 10:01:52,stdout,Sun Nov 22 02:01:52 2020 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts  
2020-11-22 10:01:52,stdout,Sun Nov 22 02:01:52 2020 TCP/UDP: Preserving recently used remote address: [AF_INET] {PIA IP ADDRESS}:1198  
2020-11-22 10:01:52,stdout,Sun Nov 22 02:01:52 2020 UDP link local: (not bound)  
2020-11-22 10:01:52,stdout,Sun Nov 22 02:01:52 2020 UDP link remote: [AF_INET]{PIA IP ADDRESS}:1198  
2020-11-22 10:01:55,stdout,02:01:55 [WARNING ][deluge.i18n.util           :83  ] IOError when loading translations: [Errno 2] No translation file found for domain: 'deluge'  
2020-11-22 10:02:52,stdout,Sun Nov 22 02:02:52 2020 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)  
2020-11-22 10:02:52,stdout,Sun Nov 22 02:02:52 2020 TLS Error: TLS handshake failed  
2020-11-22 10:02:52,stdout,"Sun Nov 22 02:02:52 2020 SIGUSR1[soft,tls-error] received, process restarting  
2020-11-22 10:02:57,stdout,Sun Nov 22 02:02:57 2020 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts  
2020-11-22 10:02:57,stdout,Sun Nov 22 02:02:57 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]{PIA IP ADDRESS}:1198  
2020-11-22 10:02:57,stdout,Sun Nov 22 02:02:57 2020 UDP link local: (not bound)  
2020-11-22 10:02:57,stdout,Sun Nov 22 02:02:57 2020 UDP link remote: [AF_INET]{PIA IP ADDRESS}:1198  
2020-11-22 10:03:57,stdout,Sun Nov 22 02:03:57 2020 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

this error continues, and while I can access the WebUI, nothing happens since the VPN tunnel is down.

Any help would be greatly appreciated!

Some tracker get "Error: Invalid argument"

Hi all!
I just installed this docker image on a fresh installation, on a rpi 4, and a i get "Error: Invalid argument" for one of my trackers.
I can donwload it on my PC without problem and logs doesn't show anythings revelant...
image
image

Any idea how to fix it?

ps: sry for bad english, it's not my natural language ^^

Killswitch included?

This isn't an issue, it's a question wether if this docker is set up with a killswitch so that network connections are disabled when VPN-tunnel is down?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.