Code Monkey home page Code Monkey logo

Comments (15)

robinby avatar robinby commented on May 18, 2024

Hallo, for question 1, I think I forgot to run with ./TUN.sh at first . Do I have to run it with ./TUN.sh every time when restart the container?

from docker-transmission-openvpn.

robinby avatar robinby commented on May 18, 2024

for question 2, the values of the Environment ''OPENVPN_CONFIG'' ''TRANSMISSION_PEER_CONGESTION_ALGORITHM'' and ''TRANSMISSION_SCRIPT_TORRENT_DONE_FILENAME='' can not be empty while i editing the ''OPENVPN_CONFIG'' to another better VPN server before i restart the container again.

from docker-transmission-openvpn.

haugene avatar haugene commented on May 18, 2024

Hey. So I'll try to answer your questions, but I think I need more information if you're still struggeling with some of these issues.

  1. Seems you figured it out. Either way I don't use the container on a NAS, so I don't know. But if you read the README there is explicit mentioning of "To make it work after a nas restart, create an automated task in your synology web interface". So yeah, every time I guess.
  2. Depends on how you're running this. With the docker cli you'd simply do "docker start " and it should be up and running again. For the environment variables you're mentioning, I don't understand? What are you trying to do?
  3. Yes, you would typically change servers by creating a new container with the config you want. You can change environment variables of a running container, but it's not the way to go here... If you change these settings often(like alternating a some configs or whatever) you can have lots of containers laying around named after the config they use and you can stop and start containers as you want depending on the config you want.
  4. Your NAS will have an IP from your router, and if you've forwarded ports or put it in a DMZ then it will also be accessible on the IP provided by your ISP. The IP of the Docker container is typically in the 172.17.0.0/24 range, and then the container will have another interface (typically tun0) which will get an IP address from your VPN provider. The traffic from the torrents will be routed through tun0 while local traffic (like the WebUI) will be routed through the containers eth0 interface.

Let me know if you have more issues. But if you feel something isn't working as it should, please provide the run commands and logs so that I can reproduce the error.

from docker-transmission-openvpn.

 avatar commented on May 18, 2024

Hello @robinby

  1. As @haugene said, you have to run it on every boot and this is specified in the doc.
  2. On synology their is a checkbox "Enable auto-restart" to resume container in the container setting page, just check it and it will work.

from docker-transmission-openvpn.

robinby avatar robinby commented on May 18, 2024

@haugene, Thank you for your help. And for the environment variables, i want to change the ''OPENVPN_CONFIG'' to ''NL2 UDP '' but the container was created with ''OPENVPN_CONFIG=NL1 UDP ''. When i stopped the container to set the environment variables, i have to set the ''TRANSMISSION_PEER_CONGESTION_ALGORITHM'' and ''TRANSMISSION_SCRIPT_TORRENT_DONE_FILENAME'' too. They can not be setted with non-values empty as Dockerfile . what should i set them to?
TY

from docker-transmission-openvpn.

haugene avatar haugene commented on May 18, 2024

I don't understand. What do you mean you have to set the transmission environment variables? You should be able to change them as you wish. Both openvpn config and transmission settings are read by the startup script on each container start. Logs?

from docker-transmission-openvpn.

robinby avatar robinby commented on May 18, 2024

i mean change the “openvpn_config”

from docker-transmission-openvpn.

haugene avatar haugene commented on May 18, 2024

Yeah, I get that. But then you said you had to change two of the transmission settings as well and I'm wondering why. Can't you just change your openvpn config? What commands are you running here, do you have logs?

from docker-transmission-openvpn.

robinby avatar robinby commented on May 18, 2024

I can't just change openvpn_config, because that two environment variables must be setted some values. They can't be empty when I apply the change of openvpn _config. I don't know why.

from docker-transmission-openvpn.

jgeusebroek avatar jgeusebroek commented on May 18, 2024

Try NL3 UDP config. I tried this yesterday and found NL1 didn't work, NL3 did.
(might be changed keys or something)

from docker-transmission-openvpn.

robinby avatar robinby commented on May 18, 2024

@jgeusebroek kiss, it works, thank you so much

from docker-transmission-openvpn.

robinby avatar robinby commented on May 18, 2024

@jgeusebroek do you use Transmission on Synology? how can you change the ''openvpn_config'' in created container? sometimes i want to change another config without creating a new container.

from docker-transmission-openvpn.

jgeusebroek avatar jgeusebroek commented on May 18, 2024

Sorry, I don't actually use this container. I just tried it, and finally created my own container.
I have my VPN endpoint at my router / firewall, and not in the container.

IIRC the readme contains information on how to use your own VPN.

from docker-transmission-openvpn.

 avatar commented on May 18, 2024

@robinby
To edit config on a syno, just stop the container, edit config, remove var that doesn't need to be set, save.

from docker-transmission-openvpn.

haugene avatar haugene commented on May 18, 2024

Allright @robinby, you got stuff working yet? Think I'm going to close this issue if you don't have any other questions or issues.

from docker-transmission-openvpn.

Related Issues (20)

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.