Skip to content

Commit

Permalink
fix(client-conf): remove duplicate cipher
Browse files Browse the repository at this point in the history
  • Loading branch information
redgeoff committed Nov 14, 2022
1 parent 9550b25 commit c9b56c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openvpn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ sed -i "s/ca ca.crt/;ca ca.crt/" ~/client-configs/base.conf
sed -i "s/cert client.crt/;cert client.crt/" ~/client-configs/base.conf
sed -i "s/key client.key/;key client.key/" ~/client-configs/base.conf
sed -i "s/tls-auth ta.key 1/;tls-auth ta.key 1/" ~/client-configs/base.conf
echo "cipher AES-256-GCM" >> ~/client-configs/base.conf
sed -i "s/cipher AES-256-CBC/cipher AES-256-GCM/" ~/client-configs/base.conf
echo "auth SHA256" >> ~/client-configs/base.conf
echo "key-direction 1" >> ~/client-configs/base.conf
echo ";script-security 2" >> ~/client-configs/base.conf
Expand Down

0 comments on commit c9b56c5

Please sign in to comment.