[Support] binhex - rTorrentVPN


Recommended Posts

Hey @binhex, I have been using your apps on unraid for sometime now but I am facing issue with rtorrentvpn for unraid. Please help me with this.

 

There are multiple torrents all the time throwing below mentioned error until it updates the torrent.

Tracker: [Failure reason \"Invalid user-agent !\"]

It happens when a torrent surpasses 30minutes and 0seconds marker and it remains in the error list until it updates and become 0seconds.

 

I have shared the screenshot for you. Screenshot: VzWQA6x.png

 

 

Thanks.

 

 

Link to comment

Hello, im trying to setup rtorrentvpn but i cant access webui. I always get connection failed even with openvpn and wireguard (using mullvad) but the docker is starting.

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='binhex-rtorrentvpn' --net='bridge' --privileged=true -e TZ="Europe/Paris" -e HOST_OS="Unraid" -e 'VPN_ENABLED'='yes' -e 'VPN_USER'='myusername' -e 'VPN_PASS'='mypassword' -e 'VPN_PROV'='custom' -e 'VPN_CLIENT'='openvpn' -e 'VPN_OPTIONS'='' -e 'STRICT_PORT_FORWARD'='yes' -e 'ENABLE_PRIVOXY'='no' -e 'ENABLE_AUTODL_IRSSI'='no' -e 'ENABLE_RPC2'='yes' -e 'ENABLE_RPC2_AUTH'='yes' -e 'ENABLE_WEBUI_AUTH'='yes' -e 'RPC2_USER'='admin' -e 'RPC2_PASS'='admin' -e 'WEBUI_USER'='admin' -e 'WEBUI_PASS'='admin' -e 'LAN_NETWORK'='192.168.1.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 'ADDITIONAL_PORTS'='6977,8287,11703,31947,62836' -e 'DEBUG'='true' -e 'PHP_TZ'='UTC' -e 'UMASK'='000' -e 'PUID'='99' -e 'PGID'='100' -p '5000:5000/tcp' -p '9080:9080/tcp' -p '9445:9443/tcp' -p '8121:8118/tcp' -v '/mnt/user/downloads/':'/downloads':'rw' -v '/mnt/disks/appdata_docker/appdata/binhex-rtorrentvpn':'/config':'rw' --sysctl="net.ipv4.conf.all.src_valid_mark=1" 'binhex/arch-rtorrentvpn'

 

Edited by Kishin
Link to comment
On 1/11/2021 at 9:11 AM, Kishin said:

Hello, im trying to setup rtorrentvpn but i cant access webui. I always get connection failed even with openvpn and wireguard (using mullvad) but the docker is starting.

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='binhex-rtorrentvpn' --net='bridge' --privileged=true -e TZ="Europe/Paris" -e HOST_OS="Unraid" -e 'VPN_ENABLED'='yes' -e 'VPN_USER'='myusername' -e 'VPN_PASS'='mypassword' -e 'VPN_PROV'='custom' -e 'VPN_CLIENT'='openvpn' -e 'VPN_OPTIONS'='' -e 'STRICT_PORT_FORWARD'='yes' -e 'ENABLE_PRIVOXY'='no' -e 'ENABLE_AUTODL_IRSSI'='no' -e 'ENABLE_RPC2'='yes' -e 'ENABLE_RPC2_AUTH'='yes' -e 'ENABLE_WEBUI_AUTH'='yes' -e 'RPC2_USER'='admin' -e 'RPC2_PASS'='admin' -e 'WEBUI_USER'='admin' -e 'WEBUI_PASS'='admin' -e 'LAN_NETWORK'='192.168.1.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 'ADDITIONAL_PORTS'='6977,8287,11703,31947,62836' -e 'DEBUG'='true' -e 'PHP_TZ'='UTC' -e 'UMASK'='000' -e 'PUID'='99' -e 'PGID'='100' -p '5000:5000/tcp' -p '9080:9080/tcp' -p '9445:9443/tcp' -p '8121:8118/tcp' -v '/mnt/user/downloads/':'/downloads':'rw' -v '/mnt/disks/appdata_docker/appdata/binhex-rtorrentvpn':'/config':'rw' --sysctl="net.ipv4.conf.all.src_valid_mark=1" 'binhex/arch-rtorrentvpn'

supervisord.log 28.95 kB · 2 downloads

it looks like rtorrent is unable to start, most probably due to incorrect changes to the config file, delete the file /config/rtorrent/config/rtorrent.rc and then restart the container.

Link to comment

Hi, I'm trying to switch over to this from the delugevpn docker since I was having issues accessing the webui and I'm having issues access this webui when I try and set it up. I've attached a log from when I start it up and try and connect to the webui and also a screenshot of what I have the settings of the docker at. I've removed any usernames and passwords that would have been in them. I use Mullvad as the vpn. I've tried scouring this thread and I can't seem to find anything so I apologize if this has been answered before but I figured at this time it might be better for my time to just ask rather than spend more time just trying to brute force this since I'm going nowhere right now. If more info is needed I can definitely provide that.

 

image.thumb.png.0cab9b298a0e56613e31249af610fe1c.png

supervisord usernames and passwords removed.log

Link to comment
5 hours ago, LINK1733 said:

Hi, I'm trying to switch over to this from the delugevpn docker since I was having issues accessing the webui and I'm having issues access this webui when I try and set it up. I've attached a log from when I start it up and try and connect to the webui and also a screenshot of what I have the settings of the docker at. I've removed any usernames and passwords that would have been in them. I use Mullvad as the vpn. I've tried scouring this thread and I can't seem to find anything so I apologize if this has been answered before but I figured at this time it might be better for my time to just ask rather than spend more time just trying to brute force this since I'm going nowhere right now. If more info is needed I can definitely provide that.

 

image.thumb.png.0cab9b298a0e56613e31249af610fe1c.png

supervisord usernames and passwords removed.log 19.51 kB · 1 download

your lan_network is incorrect, see Q4:- https://github.com/binhex/documentation/blob/master/docker/faq/vpn.md

Link to comment

Hello, can you please advice what can be wrong?

I've made copy of this container for Radarr, but when i tried to install rtorrent like download client i can't connect. 

I radarr logs saying that Certificate validation for https://xxxxxxxxx/RPC2 failed. RemoteCertificateNameMismatch, RemoteCertificateChainErrors

Edited by J05u
Link to comment
On 1/17/2021 at 2:36 PM, J05u said:

Hello, can you please advice what can be wrong?

I've made copy of this container for Radarr, but when i tried to install rtorrent like download client i can't connect. 

I radarr logs saying that Certificate validation for https://xxxxxxxxx/RPC2 failed. RemoteCertificateNameMismatch, RemoteCertificateChainErrors

Ok in radarr certificate check for local addresses need to be disabled

Link to comment
24 minutes ago, Kishin said:

Here you go

firefox_J8rdgmgh1b.png

this is your issue:-

 

image.png.e6d9d762165882d68552babc95d4f76d.png

so you are creating a volume mapping of /downloads in the container but your rtorrent.rc file specifies /data, which doesnt exist, change /downloads to /data (container side, not host)

Link to comment
On 1/2/2021 at 11:01 PM, binhex said:

this is your issue, you are specifying a port to use in your rtorrent.rc file, comment out or delete this line.

 

Have you actually tried doing this? Commenting out this line makes the container fail to load for me.

 

It's rebinding the port correctly, but as I said before it takes anywhere between 15 and 30 minutes to do so after running which makes the container and portforwarding look broken upon first glance.

Edited by plantsandbinary
Link to comment
15 minutes ago, plantsandbinary said:

Have you actually tried doing this? Commenting out this line makes the container fail to load for me.

sure, thats how i have mine setup.

 

15 minutes ago, plantsandbinary said:

It's rebinding the port correctly, but as I said before it takes anywhere between 15 and 30 minutes to do so after running which makes the container and portforwarding look broken upon first glance.

this must still be a configuration issue then, i use this image myself extensively, i did test a complete fresh install and had no 15-30 minute wait time, i would assume its related to the hard coded port you have in your rtorrent.rc file, that must be commented out.

 

edit - watch your line endings when editing the file rtorrent.rc, it MUST be saved with LF (unix line endings) not CRLF (windows).

 

Link to comment

not having all country codes memorized, was trying to alter my standard get ip&location command to print country name. Currently *.co gets the ip right but my location not the vpn, whereas *.io gets both right. Is there a different site to use to get country name that yall know of that is better?

 

 

Error on *.co end or some leak in container?

 

 

sh-5.0# curl ifconfig.co/country
United States
sh-5.0# curl ifconfig.co
154.13.1.102
sh-5.0# curl ifconfig.io && curl ifconfig.io/country_code
154.13.1.102
DE
sh-5.0# 

 

 

-----------------

 

has has since switched vpn endpoints, new server seems to not be doing that

sh-5.0# curl ifconfig.io && curl ifconfig.io/country_code
212.102.37.21
CH
sh-5.0# curl ifconfig.co && curl ifconfig.co/country
212.102.37.21
Switzerland
sh-5.0# 

 

Edited by Cull2ArcaHeresy
Link to comment

Well i downloaded from here, it says Community Applications:

Brez naslova.png

 

I go to Docker tab on my unraid screen, I click on blue picture next to name: binhex-rtorrentvpn and then click WebUI. It opens new tab saying http://192.168.1.99:9080/. Saying it cant load webpage ERR_CONNECTION_REFUSED

 

Network: 

 

Bridge

 

Port Mappings: 

 

172.17.0.2:5000/TCP <-> 192.168.1.99:5000
172.17.0.2:8118/TCP <-> 192.168.1.99:8118
172.17.0.2:9080/TCP <-> 192.168.1.99:9080
172.17.0.2:9443/TCP <-> 192.168.1.99:9443

 

Volume mappings:

 

/data <-> /mnt/user/appdata/data
/config <-> /mnt/user/appdata/binhex-rtorrentvpn

 

I checked links in first post, it redirect me to some websites with files. I dont know what to do there.... Am i sopouse to copy something from there?

Edited by Roketta
Link to comment
On 1/24/2021 at 7:54 PM, Roketta said:

Well i downloaded from here, it says Community Applications:

Brez naslova.png

 

I go to Docker tab on my unraid screen, I click on blue picture next to name: binhex-rtorrentvpn and then click WebUI. It opens new tab saying http://192.168.1.99:9080/. Saying it cant load webpage ERR_CONNECTION_REFUSED

 

Network: 

 

Bridge

 

Port Mappings: 

 

172.17.0.2:5000/TCP <-> 192.168.1.99:5000
172.17.0.2:8118/TCP <-> 192.168.1.99:8118
172.17.0.2:9080/TCP <-> 192.168.1.99:9080
172.17.0.2:9443/TCP <-> 192.168.1.99:9443

 

Volume mappings:

 

/data <-> /mnt/user/appdata/data
/config <-> /mnt/user/appdata/binhex-rtorrentvpn

 

I checked links in first post, it redirect me to some websites with files. I dont know what to do there.... Am i sopouse to copy something from there?

Post your logs, redacting your username/password for your VPN provider.

Link to comment

anyone else having this issue with the German server (or others)?

 

sh-5.0# ./testvpn.sh 
66.115.142.201
CA
Canada
66.115.142.201
sh-5.0# 
sh-5.0# ./testvpn.sh 
212.102.49.91
ES
Spain
212.102.49.91
sh-5.0# 
sh-5.0# ./testvpn.sh 
195.246.120.122
SE
Sweden
195.246.120.122
sh-5.0# 
sh-5.0# ./testvpn.sh 
154.13.1.102
DE
United States
154.13.1.102
sh-5.0# 

 

for reference

sh-5.0# cat testvpn.sh 
curl ifconfig.io && curl ifconfig.io/country_code && curl ifconfig.co/country && curl ifconfig.co

 

Link to comment

Hey we discussed earlier how the container does a check to see if the port is forwarded and if not, it resets the connection and attempts to update the port again. The thing is, the port isn't being set correctly the first time around, which means every time I restart the container or need to reboot my server. I have to wait 30 minutes before the container actually bothers to check if the port forward worked and when it realises it hasn't (because the open port re-assignment didn't happen properly on container boot) it resets and correctly assigns the port with a new IP again, only after the check after 30 mins.


This causes me a lot of problems. It gets me temp banned from multiple trackers due to:

 

"You are seeding/connected from too many IP addresses"

 

This is because the container starts with an IP from PIA and the port doesn't get assigned properly. So it starts seeding with a closed port from IP address (A). 30 minutes later when the port check fails, it resets the connection and properly assigns the port with a new IP address (B). This however gets me temp banned from some of the trackers I seed on because my IP address changed and my previous session is still valid.

 

Can you please just update this container or fix the port assignment issue during boot so it assigns/forwards the port correctly the first time around without needing a check after 30 mins and possible reset. You can keep the part of the script that does the check later too in case something happens. But the container really seriously needs to assign/forward the port the right way the first time.

 

I really hate to ask @binhex but at this stage it's really not functioning as it should. I haven't set any settings differently or messed with any files or anything either.

 

  

On 1/2/2021 at 11:01 PM, binhex said:

this is your issue, you are specifying a port to use in your rtorrent.rc file, comment out or delete this line.

 

I forgot to mention that the line is uncommentated out by default when your container is installed and commenting it out does not make the port get assigned properly the first time the container starts. So it really doesn't seem to matter if it is or isn't commented out.

Edited by plantsandbinary
Link to comment
3 minutes ago, plantsandbinary said:

Can you please just update this container or fix the port assignment issue during boot so it assigns/forwards the port correctly the first time around without needing a check after 30 mins and possible reset.

this is ONLY broken for you dude, nobody else in this thread has reported this issue, and the reason is because this issue is 100% related to your config, did you change the rtorrent.rc as recommended and remove the static port assignment?, see here:-

https://forums.unraid.net/topic/46127-support-binhex-rtorrentvpn/?do=findComment&comment=930350

 

Link to comment

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.