Skip to content

Commit

Permalink
Remove unnecessary Fedora configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
randomshell authored Nov 14, 2020
1 parent 8db952d commit b32c07b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions openvpn-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b32c07b

Please sign in to comment.