openvpn-client-aio icon indicating copy to clipboard operation
openvpn-client-aio copied to clipboard

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

Open sic79 opened this issue 5 years ago • 3 comments

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...

sic79 avatar Sep 21 '20 07:09 sic79

Same Here, Mine is also not working.

adir6 avatar Nov 02 '20 18:11 adir6

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

Serph91P avatar Dec 09 '20 13:12 Serph91P

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"

diggidre avatar Mar 09 '21 18:03 diggidre