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 current release has bad TLS config #1996

Open
OnGle opened this issue Oct 28, 2024 · 0 comments · May be fixed by turnkeylinux-apps/openvpn#37
Open

OpenVPN current release has bad TLS config #1996

OnGle opened this issue Oct 28, 2024 · 0 comments · May be fixed by turnkeylinux-apps/openvpn#37

Comments

@OnGle
Copy link
Member

OnGle commented Oct 28, 2024

OpenVPN server config, and our openvpn-addclient script both have bad TLS config that will not allow modern openvpn clients to connect.

Specific issue: openvpn 2.5+ does not support AES-256-CBC, we should now be using AES-256-GCM

Workaround:

echo -e 'cipher AES-256-GCM\nauth SHA512' >> /etc/openvpn/server.conf
sed 's/cipher .*/cipher AES-256-GCM/' /usr/local/bin/openvpn-addclient
sed 's/auth .*/auth SHA512/' /usr/local/bin/openvpn-addclient
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant