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

Commit from PR #305 (aka Updated Mullvad openvpn profiles) breaks Mullvad #311

Closed
6 tasks done
ktetzlaff opened this issue Aug 20, 2024 · 9 comments
Closed
6 tasks done

Comments

@ktetzlaff
Copy link

ktetzlaff commented Aug 20, 2024

Is there a pinned issue for this?

  • I have read the pinned issues

Is there an existing or similar issue for this?

  • I have searched the existing issues

Is there any comment in the documentation for this?

  • I have read the documentation, especially the FAQ and Troubleshooting parts

Is this related to the container/transmission?

  • I have checked the container repo for issues

Are you using the latest release?

  • I am using the latest release

Have you tried using the dev branch latest?

  • I have tried using dev branch

Config used

Irrelevant.

Current Behavior

After merging PR #305, OpenVPN/Linux in container fails with Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/mullvad/us_all.ovpn:16: service (2.5.9) Use --help for more information..

See #305 (comment) for details.

Expected Behavior

OpenVPN starts without issues.

How have you tried to solve the problem?

Reverting commit 9075182 (aka Updated Mullvad openvpn profiles) from PR #305 solves the issue.

See #305 (comment) for details.

Log output

See #305 (comment)

Environment

Shouldn't matter, but for completeness:

  • OS: Debian Linux 13/testing
  • Docker: Docker version 20.10.25+dfsg1, build b82b9f3

Anything else?

No response

@ktetzlaff ktetzlaff changed the title Commit from PR #305 (aka Updated Mullvad openvpn profiles) breaks Mullvad on Linux Commit from PR #305 (aka Updated Mullvad openvpn profiles) breaks Mullvad Aug 20, 2024
@aj0413
Copy link

aj0413 commented Aug 20, 2024

ah, was wondering why I was getting a few hundred error emails today from my Synology Nas about this

@ktetzlaff
Copy link
Author

@penyuan provided a workaround in #305 (comment) (which is better than what I described in the linked comment above):

FWIW, I downloaded the Mullvad files from the previous commit:
https://github.com/haugene/vpn-configs-contrib/tree/a189d8f552ff48db16e85e114b743b2fc8b2d06d/openvpn/mullvad

Then, followed the official docs to use it as a custom provider:
https://haugene.github.io/docker-transmission-openvpn/supported-providers/#using_a_local_single_ovpn_file_from_a_provider

And for now it works. But this is a stopgap measure, and I hope that the problem will be fixed through an upcoming merge/commit.

@hbontempo-br
Copy link

Same problem here

No bundled config script found for MULLVAD. Defaulting to external config
Will get configs from https://github.com/haugene/vpn-configs-contrib.git
Repository is already cloned, checking for update
Already up to date.
Already on 'main'
Your branch is up to date with 'origin/main'.
Found configs for MULLVAD in /config/vpn-configs-contrib/openvpn/mullvad, will replace current content in /etc/openvpn/mullvad
Starting OpenVPN using config fr_all.ovpn
Modifying /etc/openvpn/mullvad/fr_all.ovpn for best behaviour in this container
Modification: Point auth-user-pass option to the username/password file
Modification: Change ca certificate path
Modification: Change ping options
Modification: Update/set resolv-retry to 15 seconds
Modification: Change tls-crypt keyfile path
Modification: Set output verbosity to 3
Modification: Remap SIGUSR1 signal to SIGTERM, avoid OpenVPN restart loop
Modification: Updating status for config failure detection
Setting OpenVPN credentials...
adding route to local network 192.168.0.0/16 via 172.18.0.1 dev eth0
Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/mullvad/fr_all.ovpn:14: service (2.5.9)
Use --help for more information.

@dgonneau
Copy link

dgonneau commented Aug 22, 2024

Having exact same problem with "Options error" message.
Replaced the fr_all.ovpn in /data/docker/transmission-openvpn/vpn-configs-contrib/openvpn/mullvad/ with previous version https://github.com/haugene/vpn-configs-contrib/blob/a189d8f552ff48db16e85e114b743b2fc8b2d06d/openvpn/mullvad/fr_all.ovpn and it works for now until next update.

@sntyj
Copy link
Contributor

sntyj commented Aug 23, 2024

I created a pull request to roll back these changes, while keeping the IP addresses in place. Please feel free to test and provide feedback on it: #312

@ajakate
Copy link

ajakate commented Aug 24, 2024

Another workaround that was pretty easy...

I think this specific error Unrecognized option ... service is only in the _all configs. I switched my mullvad OPENVPN_CONFIG from se_all to se_sto and that got me up and running fine

@BananaHammock743
Copy link

@haugene @wickedyoda if you have time to review this it would help out a whole heap of us who have broken Transmission clients 🙏

@pkishino
Copy link
Collaborator

Have merged in #312

@BananaHammock743
Copy link

BananaHammock743 commented Aug 25, 2024 via email

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

No branches or pull requests

8 participants