haugene / vpn-configs-contrib

A collection of configs for various VPN providers
GNU General Public License v3.0
174 stars 739 forks source link

Maybe Ivacy configs need to be updated? #220

Closed Magneticdud closed 7 months ago

Magneticdud commented 1 year ago

Do you have the latest provider files?

Have you tested the provider files?

Can you create a PR for this config?

Provider details

Since a few days ago I can't connect to Ivacy. I tried on my PC to connect using openvpn using the config files in this repository, but all I get is:

TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
TLS Error: TLS handshake failed

I noticed that 3 days ago ivacy published new config files on their website, at the URL https://ivacy.s3.amazonaws.com/support/OpenVPN-Configs-with-certificate.rar

But I can't connect using those new files using the windows client because I get

Options error: Unrecognized option or missing or extra parameter(s) in SE_Stockholm_OB_UDP.ovpn:11: scramble (2.6.4)

Anything else?

No response

sheamaus commented 1 year ago

Hey, I was also having problems with the configs no longer connecting for ivacy. So I added the configs you linked to my own fork and have had some success. If you'd like to use my fork in the meantime for the configs then you can add GITHUB_CONFIG_SOURCE_REPO=sheamaus/vpn-configs-contrib to the environment variables in your docker build and then set your new config from the list here i.e. OPENVPN_CONFIG=BE_Brussels_TCP

UDP doesn't appear to work, but TCP is working fine for now. I've tested using the Belgium server (BE_Brussels_OB_UDP & BE_Brussels_TCP).

UDP reports _2023-06-08T20:16:28.460192138Z Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/ivacy/BE_Brussels_OBUDP.ovpn:10: scramble (2.5.5)

2023-06-08T20:14:19.943760114Z Using OpenVPN provider: IVACY 2023-06-08T20:14:19.943814195Z Running with VPN_CONFIG_SOURCE auto 2023-06-08T20:14:19.943846914Z No bundled config script found for IVACY. Defaulting to external config 2023-06-08T20:14:19.946788933Z Downloading configs from https://github.com/sheamaus/vpn-configs-contrib/archive/main.zip into /tmp/tmp.mwe9wtnCYm 2023-06-08T20:14:42.592531653Z Extracting configs to /tmp/tmp.RhzkZ1SFPq 2023-06-08T20:14:43.131049007Z Found configs for IVACY in /tmp/tmp.RhzkZ1SFPq/vpn-configs-contrib-main/openvpn/ivacy, will replace current content in /etc/openvpn/ivacy 2023-06-08T20:14:43.135486855Z Cleanup: deleting /tmp/tmp.mwe9wtnCYm and /tmp/tmp.RhzkZ1SFPq 2023-06-08T20:14:43.232131280Z Starting OpenVPN using config BE_Brussels_OB_UDP.ovpn 2023-06-08T20:14:43.234317907Z Modifying /etc/openvpn/ivacy/BE_Brussels_OB_UDP.ovpn for best behaviour in this container 2023-06-08T20:14:43.234343289Z Modification: Point auth-user-pass option to the username/password file 2023-06-08T20:14:43.235572965Z Modification: Change ca certificate path 2023-06-08T20:14:43.237352129Z Modification: Change ping options 2023-06-08T20:14:43.242584439Z Modification: Update/set resolv-retry to 15 seconds 2023-06-08T20:14:43.244526445Z Modification: Change tls-crypt keyfile path 2023-06-08T20:14:43.246186263Z Modification: Set output verbosity to 3 2023-06-08T20:14:43.248219823Z Modification: Remap SIGUSR1 signal to SIGTERM, avoid OpenVPN restart loop 2023-06-08T20:14:43.250223127Z Modification: Updating status for config failure detection 2023-06-08T20:14:43.254006328Z Setting OpenVPN credentials... 2023-06-08T20:14:43.275403297Z adding route to local network 192.168.5.0/24 via 172.20.0.1 dev eth0 2023-06-08T20:14:43.278601619Z Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/ivacy/BE_Brussels_OB_UDP.ovpn:10: scramble (2.5.5) 2023-06-08T20:14:43.278611141Z Use --help for more information. 2023-06-08T20:14:45.596979578Z Starting container with revision: 1103172c3288b7de681e2fb7f1378314f17f66cf 2023-06-08T20:14:45.596991258Z TRANSMISSION_HOME is currently set to: /config/transmission-home 2023-06-08T20:14:45.798067328Z Creating TUN device /dev/net/tun 2023-06-08T20:14:45.815916895Z Using OpenVPN provider: IVACY 2023-06-08T20:14:45.816310770Z Running with VPN_CONFIG_SOURCE auto 2023-06-08T20:14:45.816435731Z No bundled config script found for IVACY. Defaulting to external config 2023-06-08T20:14:45.823396697Z Downloading configs from https://github.com/sheamaus/vpn-configs-contrib/archive/main.zip into /tmp/tmp.Ff8OG1BexS 2023-06-08T20:15:00.684105837Z Extracting configs to /tmp/tmp.uE1nKKZbpp 2023-06-08T20:15:01.228069736Z Found configs for IVACY in /tmp/tmp.uE1nKKZbpp/vpn-configs-contrib-main/openvpn/ivacy, will replace current content in /etc/openvpn/ivacy 2023-06-08T20:15:01.232596014Z Cleanup: deleting /tmp/tmp.Ff8OG1BexS and /tmp/tmp.uE1nKKZbpp 2023-06-08T20:15:01.329798429Z Starting OpenVPN using config BE_Brussels_OB_UDP.ovpn 2023-06-08T20:15:01.331935779Z Modifying /etc/openvpn/ivacy/BE_Brussels_OB_UDP.ovpn for best behaviour in this container 2023-06-08T20:15:01.331959019Z Modification: Point auth-user-pass option to the username/password file 2023-06-08T20:15:01.333294772Z Modification: Change ca certificate path 2023-06-08T20:15:01.334962177Z Modification: Change ping options 2023-06-08T20:15:01.339007212Z Modification: Update/set resolv-retry to 15 seconds 2023-06-08T20:15:01.341094441Z Modification: Change tls-crypt keyfile path 2023-06-08T20:15:01.342834124Z Modification: Set output verbosity to 3 2023-06-08T20:15:01.344801721Z Modification: Remap SIGUSR1 signal to SIGTERM, avoid OpenVPN restart loop 2023-06-08T20:15:01.346715472Z Modification: Updating status for config failure detection 2023-06-08T20:15:01.350435117Z Setting OpenVPN credentials... 2023-06-08T20:15:01.371149631Z adding route to local network 192.168.5.0/24 via 172.20.0.1 dev eth0 2023-06-08T20:15:01.374470830Z Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/ivacy/BE_Brussels_OB_UDP.ovpn:10: scramble (2.5.5) 2023-06-08T20:15:01.374479298Z Use --help for more information. 2023-06-08T20:15:03.853714720Z Starting container with revision: 1103172c3288b7de681e2fb7f1378314f17f66cf 2023-06-08T20:15:03.853874530Z TRANSMISSION_HOME is currently set to: /config/transmission-home 2023-06-08T20:15:03.879239193Z Creating TUN device /dev/net/tun 2023-06-08T20:15:03.887403139Z Using OpenVPN provider: IVACY 2023-06-08T20:15:03.887630737Z Running with VPN_CONFIG_SOURCE auto 2023-06-08T20:15:03.887675185Z No bundled config script found for IVACY. Defaulting to external config 2023-06-08T20:15:03.895194219Z Downloading configs from https://github.com/sheamaus/vpn-configs-contrib/archive/main.zip into /tmp/tmp.by9qgTvbFJ 2023-06-08T20:15:53.313876677Z Extracting configs to /tmp/tmp.2Ie4iKjzvI 2023-06-08T20:15:53.857439201Z Found configs for IVACY in /tmp/tmp.2Ie4iKjzvI/vpn-configs-contrib-main/openvpn/ivacy, will replace current content in /etc/openvpn/ivacy 2023-06-08T20:15:53.861915318Z Cleanup: deleting /tmp/tmp.by9qgTvbFJ and /tmp/tmp.2Ie4iKjzvI 2023-06-08T20:15:53.956377127Z Starting OpenVPN using config BE_Brussels_OB_UDP.ovpn 2023-06-08T20:15:53.958527268Z Modifying /etc/openvpn/ivacy/BE_Brussels_OB_UDP.ovpn for best behaviour in this container 2023-06-08T20:15:53.958581941Z Modification: Point auth-user-pass option to the username/password file 2023-06-08T20:15:53.959832889Z Modification: Change ca certificate path 2023-06-08T20:15:53.961673337Z Modification: Change ping options 2023-06-08T20:15:53.965672396Z Modification: Update/set resolv-retry to 15 seconds 2023-06-08T20:15:53.967695305Z Modification: Change tls-crypt keyfile path 2023-06-08T20:15:53.969445359Z Modification: Set output verbosity to 3 2023-06-08T20:15:53.971586842Z Modification: Remap SIGUSR1 signal to SIGTERM, avoid OpenVPN restart loop 2023-06-08T20:15:53.973676040Z Modification: Updating status for config failure detection 2023-06-08T20:15:53.977464069Z Setting OpenVPN credentials... 2023-06-08T20:15:53.999466745Z adding route to local network 192.168.5.0/24 via 172.20.0.1 dev eth0 2023-06-08T20:15:54.002633514Z Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/ivacy/BE_Brussels_OB_UDP.ovpn:10: scramble (2.5.5) 2023-06-08T20:15:54.002657362Z Use --help for more information. 2023-06-08T20:15:56.247652428Z Starting container with revision: 1103172c3288b7de681e2fb7f1378314f17f66cf 2023-06-08T20:15:56.247674980Z TRANSMISSION_HOME is currently set to: /config/transmission-home 2023-06-08T20:15:56.269705574Z Creating TUN device /dev/net/tun 2023-06-08T20:15:56.274702398Z Using OpenVPN provider: IVACY 2023-06-08T20:15:56.274798957Z Running with VPN_CONFIG_SOURCE auto 2023-06-08T20:15:56.274809501Z No bundled config script found for IVACY. Defaulting to external config 2023-06-08T20:15:56.278688614Z Downloading configs from https://github.com/sheamaus/vpn-configs-contrib/archive/main.zip into /tmp/tmp.Pm1cFKECa7 2023-06-08T20:16:27.768215973Z Extracting configs to /tmp/tmp.KF4sizlsbn 2023-06-08T20:16:28.315487349Z Found configs for IVACY in /tmp/tmp.KF4sizlsbn/vpn-configs-contrib-main/openvpn/ivacy, will replace current content in /etc/openvpn/ivacy 2023-06-08T20:16:28.320015996Z Cleanup: deleting /tmp/tmp.Pm1cFKECa7 and /tmp/tmp.KF4sizlsbn 2023-06-08T20:16:28.415511035Z Starting OpenVPN using config BE_Brussels_OB_UDP.ovpn 2023-06-08T20:16:28.417654261Z Modifying /etc/openvpn/ivacy/BE_Brussels_OB_UDP.ovpn for best behaviour in this container 2023-06-08T20:16:28.417699293Z Modification: Point auth-user-pass option to the username/password file 2023-06-08T20:16:28.418988912Z Modification: Change ca certificate path 2023-06-08T20:16:28.420713383Z Modification: Change ping options 2023-06-08T20:16:28.424663232Z Modification: Update/set resolv-retry to 15 seconds 2023-06-08T20:16:28.426575455Z Modification: Change tls-crypt keyfile path 2023-06-08T20:16:28.428297706Z Modification: Set output verbosity to 3 2023-06-08T20:16:28.430273561Z Modification: Remap SIGUSR1 signal to SIGTERM, avoid OpenVPN restart loop 2023-06-08T20:16:28.432287530Z Modification: Updating status for config failure detection 2023-06-08T20:16:28.436002918Z Setting OpenVPN credentials... 2023-06-08T20:16:28.457003261Z adding route to local network 192.168.5.0/24 via 172.20.0.1 dev eth0 2023-06-08T20:16:28.460192138Z Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/ivacy/BE_Brussels_OB_UDP.ovpn:10: scramble (2.5.5) 2023-06-08T20:16:28.460200548Z Use --help for more information. 2023-06-08T20:16:30.629161600Z Starting container with revision: 1103172c3288b7de681e2fb7f1378314f17f66cf 2023-06-08T20:16:30.629181914Z TRANSMISSION_HOME is currently set to: /config/transmission-home 2023-06-08T20:16:30.653351249Z Creating TUN device /dev/net/tun 2023-06-08T20:16:30.669405975Z Using OpenVPN provider: IVACY 2023-06-08T20:16:30.669745974Z Running with VPN_CONFIG_SOURCE auto 2023-06-08T20:16:30.669781168Z No bundled config script found for IVACY. Defaulting to external config 2023-06-08T20:16:30.681266603Z Downloading configs from https://github.com/sheamaus/vpn-configs-contrib/archive/main.zip into /tmp/tmp.jeZ2pHB6EZ

Magneticdud commented 1 year ago

I confirm that with TCP the new ivacy profiles are working. I only tried UDP and I failed....

sheamaus commented 1 year ago

I just re-read your initial post and saw you were getting the same error on UDP using openvpn in windows, so I reached out to ivacy webchat and they confirmed they're working on a fix to UDP. So the error doesn't appear to be coming from the docker, but it will need the configs updating to work as you originally suggested, and for ivacy to fix their bad config files for UDP to work again.

Post back here if you notice an update to the files again and I'll update my fork.

Magneticdud commented 7 months ago

As it is right now, with this profiles it's not possible to connect to ivacy

Maybe @sheamaus should send a PR with the changes