-
-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VPN provider support: Ovpn.com #495
Comments
I will be waiting for this update patiently. Would love to see this become a reality! Had OVPN and am extremely satisfied. The only thing is I cannot get the OVPN wireguard to work with custom provider instruction no matter how I tweaked it. Either DNS could not resolve, or some other issues (may have something to do with multihop from OVPN). Anyway! I really enjoy using gluetun! Thanks a lot! |
@Magic-Deceiver I'll try to get to it soon (can't promise though I'm flooded 😄). Feel free to create a Github discussion on this repo I can help you setup Wireguard if you want. |
No problem! I truly appreciate your help! I Will create a discussion once I get my logs captured so its faster to see whats the problem :) P.S.: That's gotta be the fastest response I have ever received on GitHub lol. |
For Wireguard, see discussion #677 where someone using ovpn managed to set it up 😉 |
Echo #677
Hopefully, someone smarter than me will be able to figure out how to access their server info other than downloading it manually from the website. I hope this helps! |
@Magic-Deceiver nice thanks!! It does definitely helps. Wireguard support will be nice given what you said. Another two questions:
|
@Magic-Deceiver perfect I received your email. I now have both OpenVPN and Wireguard configuration files, perfect. I sent a message to ovpn.com's support to ask them where their API is and how to use it, if I can obtain some server information programmatically that would be better to automatically update server information. I'll get to it soon. |
From their support email (notes to my future self):
With all this, it should be a top tier integration 💯 (at the top with Mullvad and Ivpn). I'm re-working the entire configuration setup right now, it might take me a few days, and then this is next on my list. I'll comment here once I have something ready to test, thanks for your patience! |
Can't wait! I'm glad I was able to facilitate the process. So far, no complaints with OVPN - on par with Mullvad, if not better. |
Also, are you planning on integrating their public DNS server when connecting to OVPN? I believe they have four in total (perhaps you will find them helpful): IPv4 addresses: IPv6 addresses: |
Since I have a rather long backlog of providers to add support for, I spent a good amount of time refactoring the code and writing guides on adding a VPN provider. You need a bit of programming experience but you could also learn as you go. The relevant pages are:
I'll comment here again if I start implementing the provider to avoid any potential duplicate work, but it should not be anytime soon I think. Please also comment here if you decide to start working on it |
Forgive me if I'm being presumptuous by asking, but did plans to implement this particular provider support get cancelled? |
Yes would be cool if the VPN provider would be included. |
I'm happy to assist with this if given some background. I ported ovpn options into a openvpn project previously. Only issue will be if this project can resolve domain names prior to VPN up because the use of addresses in the configs prevents end-users from having to edit their environments when IPs change. |
@qdm12 could you point me to an example for steps 2 and 3? |
Hello everyone, first of all my apologies for the 3 years of delay (❗❗❗), but I finally got to implement something. See #2537 which contains instructions on how to run it for both wireguard and openvpn. Wireguard should work fine, but OpenVPN is likely missing configuration options.... Thank you for the help and for the extreme patience 💪 |
You can see a lot of the OVPN options here: https://github.com/haugene/vpn-configs-contrib/tree/main/openvpn/ovpn where I contributed to another project. |
Please pull that image |
Setup a VM to test with, but I don't see notes in re environmental vars for wireguard or openvpn for OVPN.COM. Will test, but want to be sure I know the specifics to add to ensure I test properly? |
@derekcentrico there are some examples in this page. I have tried |
Doh! Didn't see that above earlier. |
Note you can also plug in the Wireguard config file directly (search the Wiki I forgot the exact file path 😄) Anyone had time to try out OpenVPN, so I can merge all this? Thanks 🙏 ! |
@qdm12 Wireguard has been working perfectly. I tried switching over to OpenVPN to verify for you and it failed. These two errors kept repeating: Hope this helps! |
Please re-pull 😉 I changed it to use |
Okay I renewed image and now this error is repeating: |
This usually happens when trying to reach the wrong ip address or port. What VPN server are you trying to connect to: hostname/ip, port and tcp-or-udp? Perhaps try changing |
@qdm12 I was using configs downloaded from the website and pointed to with OPENVPN_CUSTOM_CONFIG. I've tried for a couple hours to get it working now, no success. Attempted to connect to the Miami and Atlanta servers with the IP and port from the ovpn website used with respective OPENVPN_ENDPOINT_IP and OPENVPN_ENDPOINT_PORT variables and with both TCP and UDP plugged into OPENVPN_PROTOCOL variable. The connection refused errors got replaced with some new errors when I plugged in ip, port, and one protocol variable (two separate times): If there's a specific config set you want me to test out I'd be happy to, in case I'm doing anything wrong. |
@qdm12 I sent you an email with more information |
@qdm12 Just getting back to this, apologies. Wireguard failed. Haven't tried OpenVPN.
|
@qdm12 Apparently, a reboot solved it?? Nice.
Will test OpenVPN next. |
@qdm12 last one for now. OpenVPN failed using settings from #2537 using amsterdam and madrid as test cities. Also, it would be nice to not require an IP on Wireguard because both Wireguard and OpenVPN files use a OVPN domain.
|
I would recommend using environment variables described in #2537 (it's the same across servers, so it's just a set once and forget) and choose your server with server filters such as
Could you share any OpenVPN configuration file from ovpn? It's probably missing some options I would guess 🤔 Just remove your username+password but leave the |
@qdm12 I used those settings and still errs.
@qdm12 it appears that @stonedemoman provided a ZIP with such files so let me know if there's more you need. Happy to dive in now that I'm back from holiday travel. |
🤔 Can you try with Also sorry for the long delay answering back |
@qdm12 I tried with both ports using that env. No go. Here's what my docker compose looks like that I'm using:
Both tests end up the same, but here's all the output (trying not to further flood this so using pastebin): https://pastebin.com/xnkRy4ZG |
dk.copenhagen.ovpn.com
(countrycode.city.ovpn.com)The text was updated successfully, but these errors were encountered: