Closed friki67 closed 3 years ago
Same problem for privado when using :latest. I switched to :dev and container successfully connected. Here is the output I captured for the failed :latest. Nothing meaningful to me in the below to point to the problem but something is better than nothing.
Starting container with revision: 32bcf7522d1ecf9428cefe9044e12f9af5e30476 Creating TUN device /dev/net/tun Using OpenVPN provider: PRIVADO 4 servers found in OPENVPN_CONFIG, mia-001 chosen randomly Starting OpenVPN using config mia-001.ovpn Setting OpenVPN credentials... adding route to local network 10.0.2.0/24 via 172.17.0.1 dev eth0 2021-05-07 08:53:08 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning. 2021-05-07 08:53:08 OpenVPN 2.5.1 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Apr 16 2021 2021-05-07 08:53:08 library versions: OpenSSL 1.1.1k 25 Mar 2021, LZO 2.10 2021-05-07 08:53:08 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts 2021-05-07 08:53:08 TCP/UDP: Preserving recently used remote address: [AF_INET]86.106.87.131:1194 2021-05-07 08:53:08 Socket Buffers: R=[212992->212992] S=[212992->212992] 2021-05-07 08:53:08 UDP link local: (not bound) 2021-05-07 08:53:08 UDP link remote: [AF_INET]86.106.87.131:1194 2021-05-07 08:54:08 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) 2021-05-07 08:54:08 TLS Error: TLS handshake failed 2021-05-07 08:54:08 SIGUSR1[soft,tls-error] received, process restarting 2021-05-07 08:54:08 Restart pause, 5 second(s) 2021-05-07 08:54:13 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts 2021-05-07 08:54:13 TCP/UDP: Preserving recently used remote address: [AF_INET]86.106.87.131:1194 2021-05-07 08:54:13 TCP/UDP: Preserving recently used remote address: [AF_INET]86.106.87.131:1194 2021-05-07 08:54:13 Socket Buffers: R=[212992->212992] S=[212992->212992] 2021-05-07 08:54:13 UDP link local: (not bound) 2021-05-07 08:54:13 UDP link remote: [AF_INET]86.106.87.131:1194 2021-05-07 08:55:13 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) 2021-05-07 08:55:13 TLS Error: TLS handshake failed 2021-05-07 08:55:13 SIGUSR1[soft,tls-error] received, process restarting 2021-05-07 08:55:13 Restart pause, 5 second(s)
@friki67 please include logs so we can see that it sets up properly.. are you getting a 404 or what?? What is your IP of the host/the machine you are trying to access from? What is your WG IP address.. most likely your LOCAL_NETWORK isn’t set correctly. Also try disable rpc whitelist, does it work then? @pilotman28 looks like a totally different issue, in your case the failure looks related to bad VPN profiles.. haven’t looked at the difference for that provider between master and dev, please take a look and see if they were updated on dev
Hi. I have modified initial post to reflect the information required. Regards.
Hello. This has an easy solution. Including your access VPN ip range to the LOCAL_NETWORK variable fix it for me.
LOCAL_NETWORK=192.168.1.0/24,10.4.0.0/24
I configured two VPN's, one in my machine and one in my router, and included those 3 ip ranges (LAN,VPN1,VPN2) in this variable and it works ok.
Thank you for your help
Before creating this issue I have:
Container version & last working release
latest, x86_64
Describe the problem
Describe the steps you have tried to solve the problem
The log I'm sending is with whitelist disabled.
Add your docker run command or docker-compose file or env details
Logs
Host system