Closed jozsefmorrissey closed 4 years ago
Well, I have not experienced this myself, but this line in the log stands out: TCP: connect to [AF_INET]23.227.192.103:4443 failed: Connection refused
for whatever reason it appears that the remote server rejected your attempt to connect. maybe it doesn't like your openvpn profile or certificate? Can you download a new one from your VPN provider?
Thanks for the speedy response, I was assuming that the certificates would work since they are being used on multiple computers. But maybe there was some sort of update that prevents registering old certificates with new devices.
Fingers crossed, thanks for your input, Jozsef Morrissey
No problem, if you have any more questions, feel free to open another issue.
Fullaxx
Did you have to do any network bridging for docker?
No, in my setup I used all the commands listed in the readme. openvpn connects normally, but everyone's setup could be different, so you might try adding "--netowrk host" to the docker command line and see if that makes a difference for you.
Also, make sure that you check your openvpn log every time, to ensure that you know exactly which problem that you are troubleshooting. During the course of creating all the scripting, I had multiple issues with openvpn.
Are you still getting TCP: connect to 23.227.192.103:4443 failed: Connection refused ?
Hi sorry if im missing something,
I am trying to help my brother setup your image, it works perfectly except when we try to execute with vpn config. I have set up a password file and it causes the docker to crash on startup. When I launch without the vpn config and try to connect via "openvpn --config my.opvn" the connection continuously fails (logs below). Do you have any idea what I am missing?
Just for clarification Works
docker run -d --cap-add=NET_ADMIN --device /dev/net/tun --sysctl net.ipv6.conf.all.disable_ipv6=0 -e OVPNSLEEPTIME='9' -e LOGFILE='mylog' -v /srv/docker/biglybt/in:/in -v /srv/docker/biglybt/out:/out -v C:/biglybt/config:/config -p 127.0.0.1:5901:5901 fullaxx/biglybt
Doesn't Work
docker run -d --cap-add=NET_ADMIN --device /dev/net/tun --sysctl net.ipv6.conf.all.disable_ipv6=0 -e OVPNSLEEPTIME='9' -e OVPNCFG='austria-udp.ovpn' -e LOGFILE='mylog' -v /srv/docker/biglybt/in:/in -v /srv/docker/biglybt/out:/out -v C:/biglybt/config:/config -p 127.0.0.1:5901:5901 fullaxx/biglybt
Thanks, Jozsef