From a941675c3b529b3f5570766471ae7a1d4a2224cc Mon Sep 17 00:00:00 2001 From: randomshell Date: Sat, 14 Nov 2020 17:16:19 +0000 Subject: [PATCH] Remove unnecessary cipher configuration on Fedora --- openvpn-install.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 92bb343..ef03a27 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -917,10 +917,6 @@ verb 3" >>/etc/openvpn/server.conf sed -i 's|LimitNPROC|#LimitNPROC|' /etc/systemd/system/openvpn-server@.service # Another workaround to keep using /etc/openvpn/ sed -i 's|/etc/openvpn/server|/etc/openvpn|' /etc/systemd/system/openvpn-server@.service - # On fedora, the service hardcodes the ciphers. We want to manage the cipher ourselves, so we remove it from the service - if [[ $OS == "fedora" ]]; then - sed -i 's|--cipher AES-256-GCM --ncp-ciphers AES-256-GCM:AES-128-GCM:AES-256-CBC:AES-128-CBC:BF-CBC||' /etc/systemd/system/openvpn-server@.service - fi systemctl daemon-reload systemctl enable openvpn-server@server