docker-mac-network icon indicating copy to clipboard operation
docker-mac-network copied to clipboard

openvpn:latest image doesn't work with client config

Open tomjakubowski opened this issue 6 years ago • 2 comments

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 avatar Oct 15 '18 17:10 tomjakubowski

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

https://github.com/kylemanna/docker-openvpn/pull/411 https://github.com/kylemanna/docker-openvpn/issues/381 https://github.com/kylemanna/docker-openvpn/issues/398

tomjakubowski avatar Oct 15 '18 17:10 tomjakubowski

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

kesler-dev avatar Mar 15 '19 09:03 kesler-dev