Closed derekcentrico closed 3 years ago
Actually, im wondering if LOCAL_NETWORK=192.168.1.0/24 should be like 0.0.0.0/0 or something. And if so will data still go through the vpn or if that opens it up to the world for torrent data transfer.
Hello,
I think you're good with LOCAL_NETWORK=192.168.1.0/24 but I guess that you need a reverse proxy to be able to access WebUI from WAN. I've got mine working with a new container with this image: haugene/transmission-openvpn-proxy, here is how I run it :
docker run -d --link transmissionvpn:transmission --name=proxy -p 8080:8080 haugene/transmission-openvpn-proxy:latest-armhf
So now when I point to http://(external IP):8080 -> BAM ! WebUI :)
Okay so I added this to my docker-compose and reloaded. Sadly I'm not getting through on WAN. "This site can't be reached" when using IP:9090 as the entry point.
proxy: image: haugene/transmission-openvpn-proxy links:
@sorcierwax what's your container for transmission itself? I'm wondering if I'm just not understanding how the port side works here.
Ah!, okay so apparently 8080:8080 is obligatory. I changed it because of a conflict. However, I've now put proxy on that and changed the other docker file and we're solid. Sweet! Thanks for pointing me in this direction.
š
Sorry to necro this but considering I'm having the same issue, I hope it's okay.
I just want to clarify, do I need to use the proxy to REPLACE the original docker transmission container? Or can I run this proxy and tack it onto the existing transmission?
Meaning, do I just append my current docker script and replace the title to have it load the proxy install?
Thanks to everyone, and again sorry to bring this back from the dead.
The proxy is a separate container from the Transmission one.
The proxy is a separate container from the Transmission one.
Okay, that makes sense - But when I try to link it, I constantly get an error saying, well, this:
sudo docker run -d \
> --link transmission-openvpn:transmission \
> -p 8080:8080 \
> haugene/transmission-openvpn-proxy
docker: Error response from daemon: could not get container for transmission-openvpn: No such container: transmission-openvpn.
See 'docker run --help'.
The argument right after --link should be the exact name of your transmission container.
The argument right after --link should be the exact name of your transmission container.
omfg I'm an idiot.
So okay, I fixed that. Only issue is I realized I have an apache server running so port 8080 is already bound, so I switched it to 8081 and it just... same problem
I double checked and I've got port forwarding enabled through that port to my Pi running transmission, too.
I think that the proxy can only work on 8080 port. I too also tried to bind to another one but it won't work, I had to rollback to 8080.
Oh sweet baby rays it's working FINALLY.
Jesus that was a lot... had to switch Homebridge off, stupidly thought it was Portainer so I had to recreate that...
FUN TIMES I love computers =/
Anyway, thanks for everything, it's working now and my life is apparently complete until I find more ways to waste money and/or time.
š¤
Before creating this issue I have:
Describe your request
I'm learning docker and converting my old setup over. So far so good with one hiccup: I cannot access Transmission from WAN anymore. Port is forwarded still. It just spins until it times out. I believe I setup the container fine as it certainly forwards incoming LAN traffic to the container as I can access the WEBUI with no issue from LAN. I reviewed some other requests here and I seem to have the same configuration so I don't know what's off.
Contextual information
Here's the container file:
Any input on what is wrong, or if my expectations are just not correct, would be much appreciated. I'm a container newbie here. Thanks.