Skip to content
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

ExpressVPN Fix #1047

Merged
merged 2 commits into from
Jun 29, 2022
Merged

ExpressVPN Fix #1047

merged 2 commits into from
Jun 29, 2022

Conversation

barino28
Copy link
Contributor

had issues with connecting to ExpressVPN. After some troubleshooting I noticed that even though Fragment was defined in the Provider Configuration, the line was never written in the .ovpn file. Added a section to write this line if the Fragment argument was included.

Updated the ciphers that ExpressVPN needs to include AWES128gcm, and AES256gcm along with the AES256cbc cipher.

This is my first time contributing to an open source project. Let me know if there is a better way to submit these changes.

…ted upon in the OpenVPNConfig function. Added a check and a lines.add to iclude fragment if it's included in the provider settings.

Updated the expressvpn OpenVPNConfig to include 2 additional ciphers.
qdm12
qdm12 previously approved these changes Jun 27, 2022
Copy link
Owner

@qdm12 qdm12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome thanks!!!

Congrats on your first contribution 👍
How was your experience contributing? Did you read any webpage on this repository/wiki to help you getting started? I'm asking since I worked quite a bit recently on making the contribution journey easier (especially to add providers).

internal/provider/expressvpn/openvpnconf.go Outdated Show resolved Hide resolved
@barino28
Copy link
Contributor Author

Thank you! It was a very pleasant experience contributing to your project. I read through the full wiki a couple times trying to troubleshoot the errors I was receiving. Troubleshooting was definitely the hardest part as I am not fully familiar with OpenVPN. I have never done anything in Go before either, but its a pretty easy language to understand, so I had fun with that!

@qdm12
Copy link
Owner

qdm12 commented Jun 29, 2022

@barino28 Awesome! For future reference, you can also check out https://github.com/qdm12/gluetun/wiki/Development and https://github.com/qdm12/gluetun/tree/master/.devcontainer#development-container since this is an all-in-a-container development container tuned for Gluetun 😉

And also sorry about that fragment that got lost in translation whilst refactoring the code!

@qdm12 qdm12 merged commit 9f959db into qdm12:master Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants