Comments (15)
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.
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.
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.
- 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.
- 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?
- 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.
- 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.
Hello @robinby
- As @haugene said, you have to run it on every boot and this is specified in the doc.
- 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.
@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.
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.
i mean change the “openvpn_config”
from docker-transmission-openvpn.
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.
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.
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.
@jgeusebroek kiss, it works, thank you so much
from docker-transmission-openvpn.
@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.
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.
@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.
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)
- Can't connect to UI but container is connected to the VPN HOT 2
- Issue with large video files
- Can't install openssl1.1 HOT 1
- Web UI taking too long to respond HOT 3
- High CPU usage HOT 13
- download-dir override not working HOT 3
- Let other containers use the VPN has some IP leaks HOT 1
- Container exiting after ping timeout, stuck in a loop HOT 10
- Container seems to star fine, but cannot reach & killed after 5 mins
- WebUI login not asked in Firefox HOT 1
- Problem resolved itself
- su: cannot set groups: Operation not permitted HOT 5
- Downloads stall with "too many open files" HOT 5
- Documentation show `x.protonvpn.net.udp` while file are named `x.protonvpn.udp` HOT 1
- NordVPN CDN Down? HOT 1
- Included firewall not aware of peer port in the transmission configuration
- Transmission web ui not displayed; curl returns unauthorised HOT 1
- AUTH_FAILED, data channel cipher negotiation failed (no shared cipher) HOT 102
- healthcheck.sh reporting DNS failure if VPN service DNS incorrectly filters IPv6 addresses HOT 5
- Transmission sets permissions wrong but fixes them on restart with TRANSMISSION_UMASK HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-transmission-openvpn.