mirror of
https://github.com/angristan/openvpn-install.git
synced 2024-11-22 16:59:03 +01:00
Revert "my personal preferences, and limit 3 simultaneous clients"
This reverts commit 804c7aa9ed
.
This commit is contained in:
parent
de648aaa83
commit
2d39183284
@ -348,10 +348,7 @@ persist-key
|
|||||||
persist-tun
|
persist-tun
|
||||||
crl-verify crl.pem
|
crl-verify crl.pem
|
||||||
tls-server
|
tls-server
|
||||||
tls-auth tls-auth.key 0
|
tls-auth tls-auth.key 0" >> /etc/openvpn/server.conf
|
||||||
status openvpn-status.log
|
|
||||||
max-clients 3
|
|
||||||
verb 3" >> /etc/openvpn/server.conf
|
|
||||||
# Enable net.ipv4.ip_forward for the system
|
# Enable net.ipv4.ip_forward for the system
|
||||||
if [[ "$OS" = 'debian' ]]; then
|
if [[ "$OS" = 'debian' ]]; then
|
||||||
sed -i 's|#net.ipv4.ip_forward=1|net.ipv4.ip_forward=1|' /etc/sysctl.conf
|
sed -i 's|#net.ipv4.ip_forward=1|net.ipv4.ip_forward=1|' /etc/sysctl.conf
|
||||||
@ -448,8 +445,7 @@ remote-cert-tls server
|
|||||||
cipher AES-256-CBC
|
cipher AES-256-CBC
|
||||||
auth SHA512
|
auth SHA512
|
||||||
tls-version-min 1.2
|
tls-version-min 1.2
|
||||||
tls-client
|
tls-client" > /etc/openvpn/client-common.txt
|
||||||
verb 3" > /etc/openvpn/client-common.txt
|
|
||||||
if [[ "$VARIANT" = '1' ]]; then
|
if [[ "$VARIANT" = '1' ]]; then
|
||||||
# If the user selected the fast, less hardened version
|
# If the user selected the fast, less hardened version
|
||||||
echo "tls-cipher TLS-DHE-RSA-WITH-AES-128-CBC-SHA" >> /etc/openvpn/client-common.txt
|
echo "tls-cipher TLS-DHE-RSA-WITH-AES-128-CBC-SHA" >> /etc/openvpn/client-common.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user