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

openvpn:latest image doesn't work with client config #13

Open
tomjakubowski opened this issue Oct 15, 2018 · 2 comments
Open

openvpn:latest image doesn't work with client config #13

tomjakubowski opened this issue Oct 15, 2018 · 2 comments

Comments

@tomjakubowski
Copy link

Since OpenVPN 2.4, the server has apparently gotten pickier about got compression configuration and the generated client config causes errors like this for me (Viscosity, OS X):

openvpn_1  | Mon Oct 15 02:59:03 2018 host/172.24.0.2:55030 Bad compression stub (swap) decompression header byte: 42
openvpn_1  | Mon Oct 15 02:59:13 2018 host/172.24.0.2:55030 Bad compression stub (swap) decompression header byte: 42
openvpn_1  | Mon Oct 15 02:59:23 2018 host/172.24.0.2:55030 Bad compression stub (swap) decompression header byte: 42
openvpn_1  | Mon Oct 15 02:59:33 2018 host/172.24.0.2:55030 Bad compression stub (swap) decompression header byte: 42
openvpn_1  | Mon Oct 15 02:59:43 2018 host/172.24.0.2:55030 Bad compression stub (swap) decompression header byte: 42
openvpn_1  | Mon Oct 15 02:59:53 2018 host/172.24.0.2:55030 Bad compression stub (swap) decompression header byte: 42

Pinning the image to kylemanna/openvpn:2.3 in docker-compose.yml resolved this issue. I tried my hand at fixing the generated client / server config, but I am a real novice with OpenVPN and didn't get anywhere.

@tomjakubowski
Copy link
Author

A few relevant issues/PRs on the docker-openvpn repo:

kylemanna/docker-openvpn#411
kylemanna/docker-openvpn#381
kylemanna/docker-openvpn#398

@tomjakubowski tomjakubowski changed the title openvpn image should be pinned to 2.3 openvpn:latest image doesn't work with client config Oct 15, 2018
@kesler-dev
Copy link

adding comp-lzo no to docker-for-mac.ovpn fix this issue

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

2 participants