Jump to content
binhex

[Support] binhex - rTorrentVPN

2505 posts in this topic Last Reply

Recommended Posts

Let me start off by saying I'm new to Unraid, servers, networks, vpn's, torrent stuff, etc.....SO that means I have no idea what I'm doing  LOL

 

I installed the bindex-rtorrentvpn from CA.....does it require vpn to already be setup in order to work? I do not have a vpn setup yet but I am trying to open rtorrent and see what its like. 

 

However, when I go to start it, it just reverts back to stopped. I haven't made any kind of changes, I have only simply downloaded the container. Is it reverting back to stopped because I do not have a VPN setup yet?

 

Thanks

Share this post


Link to post
36 minutes ago, SPOautos said:

Let me start off by saying I'm new to Unraid, servers, networks, vpn's, torrent stuff, etc.....SO that means I have no idea what I'm doing  LOL

 

I installed the bindex-rtorrentvpn from CA.....does it require vpn to already be setup in order to work? I do not have a vpn setup yet but I am trying to open rtorrent and see what its like. 

 

However, when I go to start it, it just reverts back to stopped. I haven't made any kind of changes, I have only simply downloaded the container. Is it reverting back to stopped because I do not have a VPN setup yet?

 

Thanks

see 

 

Share this post


Link to post
46 minutes ago, Cull2ArcaHeresy said:

see video

 

 

Thank you for the info....I've watched that one but it doesnt seem very applicable to me trying to get it going with no VPN. In the template for the field labeled "Container Variable: VPN_ENABLED" I changed that from yes too no (but not sure if thats right or not). I also made sure it had my correct router IP for "LAN Network". 

 

I'm trying to start it without a VPN just to look it over and get familiar with it....I do not yet have a VPN to enter info in.

 

With just those couple things changed, it wont start, when I select start, it instantly changes to stopped.

Share this post


Link to post
8 hours ago, SPOautos said:

 

Thank you for the info....I've watched that one but it doesnt seem very applicable to me trying to get it going with no VPN. In the template for the field labeled "Container Variable: VPN_ENABLED" I changed that from yes too no (but not sure if thats right or not). I also made sure it had my correct router IP for "LAN Network". 

 

I'm trying to start it without a VPN just to look it over and get familiar with it....I do not yet have a VPN to enter info in.

 

With just those couple things changed, it wont start, when I select start, it instantly changes to stopped.

please attach (not paste) the log file, its located at /config/supervisord.log where /config is shown as a host path by looking at unraid webui/docker/ left click icon and edit, and then at the bottom click on 'show more settings' to make the path visible for /config

Share this post


Link to post

Any plans on updating to latest version? Says 0.9.8/0.13.8 is available but no docker update yet

Share this post


Link to post
Any plans on updating to latest version? Says 0.9.8/0.13.8 is available but no docker update yet
This image includes rtorrent-ps not rtorrent, different version numbers

Sent from my CLT-L09 using Tapatalk

Share this post


Link to post

Thanks again for supporting this, Wiregurad seems to be working great.  Going to start hoping between the servers to see which works best long term. 

Share this post


Link to post

Hey, I've been using this docker on unraid for a fairly long time without any problems. But suddenly a few weeks ago it stopped working. Simply stopped. It says that it's started but trying to enter the webui just gives a connection refused error. I can also see that none of the torrents is seeding. I don't think the logs says anything useful.

2020-09-30 12:17:33,278 DEBG 'start-script' stdout output:
Wed Sep 30 12:17:33 2020 [UNDEF] Inactivity timeout (--ping-restart), restarting
Wed Sep 30 12:17:33 2020 SIGHUP[soft,ping-restart] received, process restarting

2020-09-30 12:17:33,278 DEBG 'start-script' stdout output:
Wed Sep 30 12:17:33 2020 WARNING: file 'credentials.conf' is group or others accessible

Wed Sep 30 12:17:33 2020 OpenVPN 2.4.6 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 24 2018

2020-09-30 12:17:33,279 DEBG 'start-script' stdout output:
Wed Sep 30 12:17:33 2020 library versions: OpenSSL 1.1.0h 27 Mar 2018, LZO 2.10

2020-09-30 12:17:38,279 DEBG 'start-script' stdout output:
Wed Sep 30 12:17:38 2020 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2020-09-30 12:17:38,280 DEBG 'start-script' stdout output:
Wed Sep 30 12:17:38 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]188.126.94.34:1198
Wed Sep 30 12:17:38 2020 UDP link local: (not bound)
Wed Sep 30 12:17:38 2020 UDP link remote: [AF_INET]188.126.94.34:1198

2020-09-30 12:17:53,759 DEBG 'start-script' stdout output:
Wed Sep 30 12:17:53 2020 [a8bb4cb6fad3e42eb6da9e84b60ef392] Peer Connection Initiated with [AF_INET]188.126.94.34:1198

2020-09-30 12:18:00,231 DEBG 'start-script' stdout output:
Wed Sep 30 12:18:00 2020 AUTH: Received control message: AUTH_FAILED

2020-09-30 12:18:00,231 DEBG 'start-script' stdout output:
Wed Sep 30 12:18:00 2020 SIGTERM[soft,auth-failure] received, process exiting

*Can't see a way to make this smaller with a spoiler or something

 

Share this post


Link to post
Just now, bjorn said:

2020-09-30 12:18:00,231 DEBG 'start-script' stdout output: Wed Sep 30 12:18:00 2020 AUTH: Received control message: AUTH_FAILED

from your script, auth failed can be due to your account with your vpn provider (expired?), your vpn provider is having issues authenticating accounts, or your password is wrong.

Share this post


Link to post
1 minute ago, binhex said:

from your script, auth failed can be due to your account with your vpn provider (expired?), your vpn provider is having issues authenticating accounts, or your password is wrong.

I thought about that and tried connecting to the VPN on a different device, neither of the login credentials have changed and I have quite some time left on the subscription 

Share this post


Link to post
Just now, bjorn said:

I thought about that and tried connecting to the VPN on a different device, neither of the login credentials have changed and I have quite some time left on the subscription 

ok i would assume then that your vpn provider is having intermittent issues authenticating your account, probably best to contact them and tell them you are seeing 'AUTH_FAILED' when attempting to connect using OpenVPN client,

Share this post


Link to post
On 10/12/2020 at 1:58 PM, binhex said:

ok i would assume then that your vpn provider is having intermittent issues authenticating your account, probably best to contact them and tell them you are seeing 'AUTH_FAILED' when attempting to connect using OpenVPN client,

Ok, I'll try that, thanks for some great dockers btw.

 

EDIT: Downloaded new ovpn files from PIA site and added them manually which fixed the issue

Edited by bjorn
Solved the problem

Share this post


Link to post

OK, this is a bit of a stretch given its an unraid forum (and I don't actually run unraid), but I'm thinking about moving my stack to a Raspberry Pi, and thus an ARM processor. The RtorrentVPN Docker image is pretty key to my setup, and it's (reasonably) only available on amd64. Not experienced with building docker images, but from poking around on DockerHub/GitHub it looks like I could theoretically build one myself; all the source code is available. I *like* how easy the docker image is to manage and configure, but it looks like a lot of work to try to rebuild it for a different architecture. Looking at the source for things like root/install.sh, it appears that ARM support is there, the images just aren't ending up in DockerHub.

 

So I guess this is a question for @binhex - is ARM supported? Since I'm a newb at building my own images, do I just checkout binhex/arch-rtorrentvpn from Github on a Pi running Arch, and then do a "docker build"? I probably need to check out the two upstream repos too (binhex/arch-int-vpn and binhex/arch-base). Or would I be better off just installing all of this stuff from scratch and running it directly on the host? Obviously, I lose some of the advantages of using docker, but... yeah. I dunno. Getting VPNs properly configured always flummoxed me, but I want to keep my production box lean and simple.

 

Or maybe we could just get this docker image available for ARM on DockerHub? LOL

Share this post


Link to post
On 10/13/2020 at 5:08 PM, MCU said:

OK, this is a bit of a stretch given its an unraid forum (and I don't actually run unraid), but I'm thinking about moving my stack to a Raspberry Pi, and thus an ARM processor. The RtorrentVPN Docker image is pretty key to my setup, and it's (reasonably) only available on amd64. Not experienced with building docker images, but from poking around on DockerHub/GitHub it looks like I could theoretically build one myself; all the source code is available. I *like* how easy the docker image is to manage and configure, but it looks like a lot of work to try to rebuild it for a different architecture. Looking at the source for things like root/install.sh, it appears that ARM support is there, the images just aren't ending up in DockerHub.

 

So I guess this is a question for @binhex - is ARM supported? Since I'm a newb at building my own images, do I just checkout binhex/arch-rtorrentvpn from Github on a Pi running Arch, and then do a "docker build"? I probably need to check out the two upstream repos too (binhex/arch-int-vpn and binhex/arch-base). Or would I be better off just installing all of this stuff from scratch and running it directly on the host? Obviously, I lose some of the advantages of using docker, but... yeah. I dunno. Getting VPNs properly configured always flummoxed me, but I want to keep my production box lean and simple.

 

Or maybe we could just get this docker image available for ARM on DockerHub? LOL

i did do some provisional work on a arm base image but got pulled onto other stuff, its a long way off finished and will require a fair bit of dev time to get the full stack operational (base image - int-vpn - *vpn images), no promises but i may have something by the end of december, IF i get time!.

Share this post


Link to post
On 10/15/2020 at 4:25 AM, binhex said:

i did do some provisional work on a arm base image but got pulled onto other stuff, its a long way off finished and will require a fair bit of dev time to get the full stack operational (base image - int-vpn - *vpn images), no promises but i may have something by the end of december, IF i get time!.

That'd be exciting and welcome. I'm moving in November, so I might not get around to starting setting up my Pi stack until late December anyway.

Share this post


Link to post

Noticed some issues when I restarted my docker, log shows it was unable to curl the PIA server list as the first fail, otherwises sits in a loop. 

 

thoughts?  

 

2020-10-19 19:43:59.180700 [info] System information Linux f108de28b7a0 5.8.13-Unraid #1 SMP Wed Oct 7 01:03:59 CDT 2020 x86_64 GNU/Linux
2020-10-19 19:43:59.209830 [info] OS_ARCH defined as 'x86-64'
2020-10-19 19:43:59.239983 [info] PUID defined as '99'
2020-10-19 19:43:59.275972 [info] PGID defined as '100'
2020-10-19 19:43:59.324722 [info] UMASK defined as '000'
2020-10-19 19:43:59.354076 [info] Permissions already set for volume mappings
2020-10-19 19:43:59.383596 [info] Deleting files in /tmp (non recursive)...
2020-10-19 19:43:59.418391 [info] VPN_ENABLED defined as 'yes'
2020-10-19 19:43:59.451083 [warn] VPN_CLIENT not defined (via -e VPN_CLIENT), defaulting to 'openvpn'
2020-10-19 19:43:59.481398 [info] VPN_PROV defined as 'pia'
2020-10-19 19:45:18.691599 [warn] PIA VPN server info JSON cannot be downloaded from URL 'https://serverlist.piaservers.net/vpninfo/servers/v4' exit code from curl is '1'
2020-10-19 19:45:18.724749 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/CA Ontario.ovpn
2020-10-19 19:45:18.785739 [info] VPN remote server(s) defined as 'ca-ontario.privateinternetaccess.com,'
2020-10-19 19:45:18.809211 [info] VPN remote port(s) defined as '1198,'
2020-10-19 19:45:18.832702 [info] VPN remote protcol(s) defined as 'udp,'
2020-10-19 19:45:18.863195 [info] VPN_DEVICE_TYPE defined as 'tun0'
2020-10-19 19:45:18.891742 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS)
2020-10-19 19:45:18.922066 [info] LAN_NETWORK defined as '192.168.1.0/24'
2020-10-19 19:45:18.950525 [info] NAME_SERVERS defined as '209.222.18.222,209.222.18.218'
2020-10-19 19:45:18.979009 [info] VPN_USER defined as 'pXXXXXXXX'
2020-10-19 19:45:19.007621 [info] VPN_PASS defined as 'XXXXXXXXX'
2020-10-19 19:45:19.038522 [info] STRICT_PORT_FORWARD defined as 'yes'
2020-10-19 19:45:19.067998 [info] ENABLE_PRIVOXY defined as 'yes'
2020-10-19 19:45:19.097357 [info] ADDITIONAL_PORTS not defined (via -e ADDITIONAL_PORTS), skipping allow for custom incoming ports
2020-10-19 19:45:19.127136 [info] ENABLE_AUTODL_IRSSI defined as 'no'
2020-10-19 19:45:19.155728 [info] ENABLE_RPC2 defined as 'yes'
2020-10-19 19:45:19.185254 [info] ENABLE_RPC2_AUTH defined as 'yes'
2020-10-19 19:45:19.212703 [info] RPC2_USER defined as 'admin'
2020-10-19 19:45:19.240507 [info] RPC2_PASS defined as 'XXXXXXXX'
2020-10-19 19:45:19.272897 [info] ENABLE_WEBUI_AUTH defined as 'yes'
2020-10-19 19:45:19.303551 [info] WEBUI_USER defined as 'admin'
2020-10-19 19:45:19.333847 [info] WEBUI_PASS defined as 'XXXXXXXX'
2020-10-19 19:45:19.362149 [info] Starting Supervisor...
2020-10-19 19:45:19,505 INFO Included extra file "/etc/supervisor/conf.d/rtorrent.conf" during parsing
2020-10-19 19:45:19,505 INFO Set uid to user 0 succeeded
2020-10-19 19:45:19,507 INFO supervisord started with pid 6
2020-10-19 19:45:20,510 INFO spawned: 'logrotate-script' with pid 204
2020-10-19 19:45:20,512 INFO spawned: 'pyrocore-script' with pid 205
2020-10-19 19:45:20,513 INFO spawned: 'rutorrent-script' with pid 206
2020-10-19 19:45:20,514 INFO spawned: 'start-script' with pid 207
2020-10-19 19:45:20,515 INFO spawned: 'watchdog-script' with pid 208
2020-10-19 19:45:20,516 INFO reaped unknown pid 7 (exit status 0)
2020-10-19 19:45:20,522 DEBG 'watchdog-script' stdout output:
[info] rTorrent config file already exists, skipping copy

2020-10-19 19:45:20,522 INFO success: logrotate-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-10-19 19:45:20,522 INFO success: pyrocore-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-10-19 19:45:20,522 INFO success: rutorrent-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-10-19 19:45:20,522 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-10-19 19:45:20,522 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-10-19 19:45:20,522 DEBG 'start-script' stdout output:
[info] VPN is enabled, beginning configuration of VPN

2020-10-19 19:45:20,561 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf

2020-10-19 19:45:20,564 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf

2020-10-19 19:45:20,608 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1

2020-10-19 19:45:20,622 DEBG 'start-script' stdout output:
[info] Docker network defined as 172.17.0.0/16

2020-10-19 19:45:20,626 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.0/24 as route via docker eth0

2020-10-19 19:45:20,627 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------

2020-10-19 19:45:20,627 DEBG 'start-script' stdout output:
default via 172.17.0.1 dev eth0
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.4
192.168.1.0/24 via 172.17.0.1 dev eth0

2020-10-19 19:45:20,628 DEBG 'start-script' stdout output:
--------------------

2020-10-19 19:45:20,630 DEBG 'start-script' stdout output:
iptable_mangle 16384 2
ip_tables 28672 6 iptable_filter,iptable_raw,iptable_nat,iptable_mangle

2020-10-19 19:45:20,630 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables

2020-10-19 19:45:20,672 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------

2020-10-19 19:45:20,674 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD DROP
-P OUTPUT DROP
-A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 1198 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 9080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 9080 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 9443 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 9443 -j ACCEPT
-A INPUT -s 192.168.1.0/24 -i eth0 -p tcp -m tcp --dport 5000 -j ACCEPT
-A INPUT -s 192.168.1.0/24 -d 172.17.0.0/16 -i eth0 -p tcp -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -i tun0 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 1198 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 9080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 9080 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 9443 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 9443 -j ACCEPT
-A OUTPUT -d 192.168.1.0/24 -o eth0 -p tcp -m tcp --sport 5000 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 192.168.1.0/24 -o eth0 -p tcp -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT

2020-10-19 19:45:20,674 DEBG 'start-script' stdout output:
--------------------

2020-10-19 19:45:20,675 DEBG 'start-script' stdout output:
[info] Starting OpenVPN (non daemonised)...

2020-10-19 19:45:20,680 DEBG 'start-script' stdout output:
Mon Oct 19 19:45:20 2020 WARNING: file 'credentials.conf' is group or others accessible

Mon Oct 19 19:45:20 2020 OpenVPN 2.4.9 [git:makepkg/9b0dafca6c50b8bb+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 20 2020
Mon Oct 19 19:45:20 2020 library versions: OpenSSL 1.1.1g 21 Apr 2020, LZO 2.10

2020-10-19 19:45:20,680 DEBG 'start-script' stdout output:
Mon Oct 19 19:45:20 2020 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

2020-10-19 19:45:20,681 DEBG 'start-script' stdout output:
Mon Oct 19 19:45:20 2020 CRL: loaded 1 CRLs from file [[INLINE]]

2020-10-19 19:45:20,682 DEBG 'start-script' stdout output:
Mon Oct 19 19:45:20 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]184.75.208.114:1198
Mon Oct 19 19:45:20 2020 UDP link local: (not bound)
Mon Oct 19 19:45:20 2020 UDP link remote: [AF_INET]184.75.208.114:1198

2020-10-19 19:45:20,685 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 23449394272768 for <Subprocess at 23449394272096 with name pyrocore-script in state RUNNING> (stdout)>
2020-10-19 19:45:20,685 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 23449394365344 for <Subprocess at 23449394272096 with name pyrocore-script in state RUNNING> (stderr)>
2020-10-19 19:45:20,685 INFO exited: pyrocore-script (exit status 0; expected)
2020-10-19 19:45:20,685 DEBG received SIGCHLD indicating a child quit
2020-10-19 19:46:20,714 DEBG 'start-script' stdout output:
Mon Oct 19 19:46:20 2020 [UNDEF] Inactivity timeout (--ping-restart), restarting

2020-10-19 19:46:20,714 DEBG 'start-script' stdout output:
Mon Oct 19 19:46:20 2020 SIGHUP[soft,ping-restart] received, process restarting
Mon Oct 19 19:46:20 2020 WARNING: file 'credentials.conf' is group or others accessible

 

Edited by dewlite

Share this post


Link to post

Having an issue where I can internally on my local network access rutorrent, but my external network I cannot access rutorrent anymore via the DNS I had setup.

 

The issue started happening once I upgraded my config to use wireguard. The wireguard works for rutorrent perfectly and can be accessed like I said via LAN clients. But it broke the ability to access the docker container remotely.

 

I tried rolling back the config to use the old openvpn config, and it works again fine, but the second I go to use the new wireguard config, it breaks the external networks ability to access. Even when accessing via the external DNS method on a local machine on the network, it does not work, but the second i revert the config back to openvpn config, it works.

 

The only change really in the docker config I see is the addition of:

--sysctl="net.ipv4.conf.all.src_valid_mark=1" \
    --privileged=true \

 

and removal of:

--cap-add=NET_ADMIN \

 

could it be the iptables that the container uses needs updating? Does the valid_mark sysctl rule cause external source requests to drop?

 

thoughts?

 

full config:

docker run -d \
    --sysctl="net.ipv4.conf.all.src_valid_mark=1" \
    --privileged=true \
    -p 8118:8118 \
    -p 9443:9443 \
    --name=torrentvpn \
    -v /docker/torrentvpn/data:/data \
    -v /docker/torrentvpn/config:/config \
    -v /mnt/pool:/pool \
    -v /etc/localtime:/etc/localtime:ro \
    -e VPN_ENABLED=yes \
    -e VPN_USER= \
    -e VPN_PASS= \
    -e VPN_PROV=pia \
    -e VPN_CLIENT=wireguard \
    -e STRICT_PORT_FORWARD=yes \
    -e ENABLE_PRIVOXY=yes \
    -e ENABLE_AUTODL_IRSSI=yes \
    -e ENABLE_RPC2=yes \
    -e ENABLE_RPC2_AUTH=yes \
    -e ENABLE_WEBUI_AUTH=yes \
    -e RPC2_USER= \
    -e RPC2_PASS= \
    -e WEBUI_USER= \
    -e WEBUI_PASS= \
    -e LAN_NETWORK=192.168.0.0/24 \
    -e 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 \
    -e DEBUG=false \
    -e PHP_TZ=UTC \
    -e UMASK=000 \
    -e PUID=0 \
    -e PGID=0 \
    binhex/arch-rtorrentvpn

 

Edited by phi0x

Share this post


Link to post

Hi,

 

Ive tried searching for where tracker files for autodl-irssi  are located in the appdata dir, but unable to locate it.

 

Can someone point me in the right direction

 

Solution found:

 

Go into Console of docker

 

Edited by SDEN

Share this post


Link to post

Hello, I am trying to install Binhex-rTorrentVPN. But, I am not able to run it.

 

Error from Log:

crtoj9X.png

 

Docker:

Bv6CWzt.png

 

I use unassigned drive - SSD for the app-data. Please help me. Thanks.

 

Share this post


Link to post

I am trying to use rtorrentvpn with a custom openvpn server and I can get the container running and connecting to torrents, but then after about a minute it disconnects from all peers/trackers, waits about a minute again before reconnecting.  I'm not seeing anything about errors in the logs, but I AM seeing that it's trying to "get external IP with name server 'ns1.google.com'" even though I have NAME_SERVERS set to 1.1.1.1,1.0.0.1 which seems weird to me?  I have "dhcp-option DNS 1.1.1.1" for my openvpn config as well, so I'm not sure where something is deciding to use google nameservers?

 

The only other suspicious thing I'm seeing is "[server] Inactivity timeout (--ping-restart), restarting" but I'm not sure what kind of timeout that is or what to do about it?  The openvpn server and config file work fine with other containers using a different torrent client.

Share this post


Link to post
On 10/26/2020 at 6:59 AM, learningunraid said:

Hello, I am trying to install Binhex-rTorrentVPN. But, I am not able to run it.

 

Error from Log:

crtoj9X.png

 

Docker:

Bv6CWzt.png

 

I use unassigned drive - SSD for the app-data. Please help me. Thanks.

 

Have you set an RPC2_PASS variable?  If you're using RPC2_AUTH you need to set a password for it

Share this post


Link to post

Everything for me seems to work A-OK, except this error as the docker launches, which doesn't seem to affect the launch of rtorrent, rutorrent, openvpn, or privoxy:

 

rtorrent    | 2020-10-25 16:48:05,276 DEBG fd 11 closed, stopped monitoring <POutputDispatcher at 139659360098528 for <Subprocess at 139659360097856 with name pyrocore-script in state RUNNING> (stdout)>
rtorrent    | 2020-10-25 16:48:05,276 DEBG fd 15 closed, stopped monitoring <POutputDispatcher at 139659360219776 for <Subprocess at 139659360097856 with name pyrocore-script in state RUNNING> (stderr)>
rtorrent    | 2020-10-25 16:48:05,277 INFO exited: pyrocore-script (exit status 0; expected)
rtorrent    | 2020-10-25 16:48:05,277 DEBG received SIGCHLD indicating a child quit
rtorrent    | 2020-10-25 16:48:05,311 DEBG 'start-script' stdout output:
rtorrent    | [info] Default route for container is 172.20.0.1

 

Is there anywhere I should start at trying to figure it out?

 

FYI, in case anyone was wondering, the docker-compose code:

services:
  rtorrent:
    image: binhex/arch-rtorrentvpn
    container_name: rtorrent
    volumes:
      - /mnt/citadel-library:/data
      - /container-data/rtorrent:/config
    environment:
      - PUID=99
      - PGID=100
      - TZ=America/Chicago
      - VPN_ENABLED=yes
      - VPN_USER=xxxxxxxx
      - VPN_PASS=YYYYYYYYYYYYY
      - VPN_PROV=pia
      - VPN_CLIENT=openvpn
      - STRICT_PORT_FORWARD=no
      - ENABLE_PRIVOXY=yes
      - ENABLE_AUTODL_IRSSI=yes
      - ENABLE_RPC2=yes
      - ENABLE_RPC2_AUTH=yes
      - ENABLE_WEBUI_AUTH=yes
      - RPC2_USER=admin
      - RPC2_PASS=xYxYxYxYxYxY
      - WEBUI_USER=admin
      - WEBUI_PASS=xYxYxYxYxYxY
      - LAN_NETWORK=192.168.1.0/24
      - DEBUG=false
      - PHP_TZ=UTC
      - UMASK=000
    cap_add:
      - NET_ADMIN
    ports:
      - "9080:9080"
      - "9443:9443"
      - "8118:8118"
    restart: unless-stopped

 

Edited by mooky
adding docker-compose.yaml

Share this post


Link to post

Anyone else receiving a failed to scrape error on portchecker.co? I'm using wireguard if that makes a difference.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.