Skip to content

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

@tomjakubowski

Description

@tomjakubowski

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions