testdasi / openvpn-client-aio

"All-in-one" docker for all your private browsing needs. OpenVPN client, HTTP + Socks + TOR proxies, DNS-over-TLS.
GNU General Public License v3.0
24 stars 4 forks source link

Stuck at Connection in progress, wait 10s... #2

Open sic79 opened 4 years ago

sic79 commented 4 years ago

Hi,

I use a VPN provider called Integrity (https://integrity.st) and can´t seem to get this working correctly on my Unraid server, see log below.

My ovpn config file:

openvpn.ovpn client dev tun proto udp remote ***Censored*** 1197 remote-random resolv-retry infinite reneg-sec 0 nobind persist-key persist-tun verb 3 mute 10 auth-user-pass /etc/openvpn/auth.txt explicit-exit-notify 2 cipher aes-256-cbc auth SHA512 script-security 2 remote-cert-tls server compress lzo key-direction 1 <ca> -----BEGIN CERTIFICATE----- ***Censored*** -----END CERTIFICATE----- </ca> <tls-auth> -----BEGIN OpenVPN Static key V1----- ***Censored*** -----END OpenVPN Static key V1----- </tls-auth>

The auth.txt file is a 2-liner file with user and pass

Docker Log [info] Config file detected... [info] Setting variables [info] Set various ports to docker variables [info] Determine openvpn port from config file [info] Determine openvpn protocol from config file [info] Will connect openvpn on port=1197 proto=udp [info] Determine eth0 network for nftables [info] eth0 IP is 192.168.3.2 in network 192.168.3.0/24 [info] All variables set [info] Fixing configs [info] Tor build detected... [info] torsocks fixed. [info] privoxy fixed. [info] stubby fixed. [info] danted fixed. [info] tinyproxy fixed. [info] All configs fixed [info] Run stubby in background on port 53 [06:51:52.018466] STUBBY: Read config from file /etc/stubby/stubby.yml [warn] Your ISP public IP is ***Censored*** [info] Set up nftables rules [info] Editing base ruleset [info] Tor build detected. Editing tor + privoxy ruleset [info] Flusing ruleset [info] Added route 192.168.1.0/24 via 192.168.3.1 dev eth0 [info] Apply rules [info] Quick block test. Expected result is time out. Actual result is ;; connection timed out; no servers could be reached [info] All rules created [info] Setting up OpenVPN tunnel [info] Create tunnel device [info] Allow DnS-over-TLS for openvpn to lookup VPN server [info] Connecting to VPN on port 1197 with proto udp... [info] Connection in progress, wait 10s... [info] Connection in progress, wait 10s... [info] Connection in progress, wait 10s... [info] Connection in progress, wait 10s...
adir6 commented 4 years ago

Same Here, Mine is also not working.

Serph91P commented 3 years ago

Same here via PIA wont connect but the files are correct since my qbittorent vpn works.

diggidre commented 3 years ago

had the same issue but solved it. in my case i had written the full path to my credentials file in the openvpn.ovpn config file. just write "auth-user-pass nameoffile" and not auth-user-pass "/pathtofile/nameoffile"