[Support] activ - TransmissionVPN


Recommended Posts

I have never tested with ipv6, so I wouldn't be surprised if that doesn't work. A.f.a.i.k. all the firewalling etc that is done is only done for ipv4 so I imagine quite a bit would have to be done to get ipv6 working. b.t.w. All the vpn stuff is taken from a binhex image.

Link to comment
  • 1 month later...

Ok, I'm clearly missing something here. I have the app installed and I can download torrents, so it's working properly. Trouble is I can't find anything once it's downloaded. If I leave the default /data path, I can't find it. If I change the path to a location I can find, I get "Error: Permission denied...". I feel like I'm missing something extremely simple and stupid, but I cannot figure it out. 

Link to comment

Did you map the /data path to something outside the container? If you did that and then get the Permission denied error you probably need to set the userid and groupid in the parameters for te container (or you used the example ones but they don't match for you).

Check out this information: https://medium.com/@mccode/understanding-how-uid-and-gid-work-in-docker-containers-c37a01d01cf

 

Hope it helps.

Link to comment
  • 2 weeks later...

I am trying to setup TransmissionVPN and I can't access the WebGUI, I think it is related to the network side of things.

Docker log

 

Docker settings:

Host Port 1: 9091
Host Port 2: 8118
Host Path 2: /mnt/user/Downloads
Key 1: yes (VPN_ENABLED)
Key 2: $username (VPN_USER)
Key 3: $password (VPN_PASS)
Key 4: $serveraddress (VPN_REMOTE)
Key 5: 1195 (VPN_PORT)
Key 6: PPTP (VPN_PROTOCOL)
Key 7: custom (VPN_PROV)
Key 8: no (ENABLE_PRIVOXY)
Key 9: 192.168.1.0/24 (LAN_NETWORK)
Key 10: 192.168.*.* (WHITELIST)
Key 11: false (DEBUG)
Key 12: 99 (PUID)
Key 13: 100 (PGID)
unRAID Share Path: /mnt/user
AppData Config Path: /mnt/user/appdata/activ-transmissionvpn

 

Notes:

None of the ports stated are portforwared. And yes, the VPN_PORT was changed to 1195 from 1194, because I use OpenVPN-as from LinuxServer.io already, and have 1194 therfore portforwarded.

VPN info has been tested through PTTP on my Windows, and works.

My router IP is set to 192.168.0.1 (was 192.168.178.1 initially, if that matters)

Edited by Arndroid
Link to comment
3 hours ago, Arndroid said:

And yes, the VPN_PORT was changed to 1195 from 1194, because I use OpenVPN-as from LinuxServer.io already, and have 1194 therfore portforwarded.

That entry is for the port specified by your VPN provider, not something you control. Normally you would extract all the necessary info from your providers .ovpn file.

 

However... @binhex has recently changed the VPN connection methods in his dockers, I don't know if @activ has migrated this container to the new method or not.

Link to comment
33 minutes ago, jonathanm said:

That entry is for the port specified by your VPN provider, not something you control. Normally you would extract all the necessary info from your providers .ovpn file.

 

However... @binhex has recently changed the VPN connection methods in his dockers, I don't know if @activ has migrated this container to the new method or not.

Ah I see, my VPN provider does deliver multiple ways to apply an VPN server. Including OpenVPN .ovpn files, in which the port seems to be 1194, changing it to 1194 however does not seem to work. :(

 

BinHex's DelugeVPN docker seems to work fine, quite smoothly. Maybe I should look into Docker stuff myself then.

 

Edit:

Changing the VPN Protocol from PPTP to udp, including the port change from 1195 to 1194 has done the trick. :)

Thanks for the help!

Edited by Arndroid
Link to comment

To add, I also had to place my openvpn.ovpn file in the openvpn folder, as I discovered from the DelugeVPN docker from BinHex.

 

But, downloading works, it just seems to download to a different then specified location:

9vzZR5k.png

 

Settings.json shows this for both the complete and incomplete locations:

unBoIj9.png

 

Changing those locations to "/mnt/user/Downloads/complete" and "/mnt/user/Downloads/incomplete" result in "Permission denied" errors, likely because it cannot find the (relative) path?

 

I on the otherhand cannot find "/home/nobody/Downloads" :P

 

This is my only Docker Host Path parameter:

5G9N5ON.png

 

Any tips on changing the locations? (And finding the "/home/nobody/Downloads" location, to remove the files that are now there)

Edited by Arndroid
Link to comment
33 minutes ago, Arndroid said:

 

This is my only Docker Host Path parameter:

5G9N5ON.png

 

Any tips on changing the locations?

Sure, point it to /data, like it shows in your image. As far as getting to the existing downloads, they are inside the docker image, either research how to bash inside this container, or just delete the docker image and recreate it.

Link to comment
5 minutes ago, jonathanm said:

Sure, point it to /data, like it shows in your image. As far as getting to the existing downloads, they are inside the docker image, either research how to bash inside this container, or just delete the docker image and recreate it.

I tried to change it to /data, no dice.

Neither with "/mnt/user/Downloads/complete" nor with "/downloads/complete".

 

Also, I don't think that the "Docker image" is located at "/mnt/user/appdata/activ-transmissionvpn", right?

Link to comment
On 8/13/2017 at 1:42 AM, bcr621 said:

Ok, I'm clearly missing something here. I have the app installed and I can download torrents, so it's working properly. Trouble is I can't find anything once it's downloaded. If I leave the default /data path, I can't find it. If I change the path to a location I can find, I get "Error: Permission denied...". I feel like I'm missing something extremely simple and stupid, but I cannot figure it out. 

Have you perhaps solved it by now?

I am struggling with the same issue as well.

Link to comment

your folder mappings are incorrect, the /home/nobody/downloads is in the docker, not on your data drives, try changing the download location to /data/downloads, or add a couple other folder mappings to allow transmission access to other locations.. I am using a different TransmissionVPN docker, so ignore the Trans Option & Transmission RPC lines.

 

Capture.JPG

transmission.JPG

Edited by clowrym
Link to comment

I actually have tried multiple (relative) locations, but what I noticed is that if I do, for example "/downloads", my Transmission remote client says "Unknown free".

SscrYnR.png

 

When I do "/" it can find some space... I don't know where the "1.52GiB" comes from, I have plenty of more space available on my shares.

8C7XeuT.png

 

But both result in a Permission denied message

 

I am truly at a loss here.

Link to comment

Easiest thing to do is to leave the download location as is in Transmission and change where it maps to with docker. If that gives you rights issues you will need to check rights on the folder and make sure the docker user maps to an actual user (UID GID in docker).

 

 

Link to comment

Which users should I set it to?

 

Other Dockers, including the LinuxServer.io could access the Downloads share just fine.

 

I tried setting the PUID and PGID to 0 (0:0 is root), but then I couldn't access the WebGUI anymore.

Settings it back to 99:100 (user "nobody"), and I can atleast access the WebGUI again.

 

Or are these the wrong settings I'm changing?

 

Currently all shares seem to be owned by: nobody:users, is that is odd? :P 

 

Edit:

It also seems all shares have a chmod of 777, except Downloads, which has 755.
Should I change it to 777? Again, I do not seem to have issues with it on other Dockers.

Edited by Arndroid
Link to comment

96haPj4.png

When I try to attach to the docker, with or without sudo, I do not get any responses, I never attached to a docker before though.

 

I also have the feeling nothing happens whatever I try to do, things like cd and mkdir, nothing happens.

Ctrl+C does however execute a docker stop/shutdown... so there is that.

 

Also, giving the Downloads share chmod 777 doesn't change anything it seems.

Link to comment

You don't want docker attach.  That simply redirects the container's stdin / stdout / stderr to your monitor & keyboard so that you can see the output of whatever the container might be trying to display.

 

What you're looking for is

docker exec -it active-transmissionvpn /bin/bash

(or sometimes bash isn't installed in the container so you would use /bin/sh instead)

 

Side note, sudo is pointless on unRaid, as you're already running as root and have full privileges

Edited by Squid
Link to comment

Thanks to to both of you!

 

A quick "ls -l" and a "cd" to "/mnt" showed that there was nothing to be found there.

But there was a "/unraid" folder in the starting location of docker's container initial prompt, in there I could see, and access, all my shares.

 

Setting the Transmission locations to "/unraid/downloads" etc. works wonders. :)

Link to comment

Is it strange that I cannot connect TransmissionVPN to other Dockers like Couchpotato and Sonarr?

I can remote connect with a Client application to it just fine.

 

It says Authorization is invalid/required. (403 Forbidden according to the Couchpotato log)

Anything I missed perhaps?

 

NZBGet VPN works fine in this fashion.

Edited by Arndroid
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.