mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-01-30 18:41:31 +01:00
Add logs
Can be useful.
This commit is contained in:
parent
2db5ff8adf
commit
218e474f85
@ -369,7 +369,9 @@ persist-key
|
||||
persist-tun
|
||||
crl-verify crl.pem
|
||||
tls-server
|
||||
tls-auth tls-auth.key 0" >> /etc/openvpn/server.conf
|
||||
tls-auth tls-auth.key 0
|
||||
status openvpn-status.log
|
||||
verb 3" >> /etc/openvpn/server.conf
|
||||
# Enable net.ipv4.ip_forward for the system
|
||||
sed -i '/\<net.ipv4.ip_forward\>/c\net.ipv4.ip_forward=1' /etc/sysctl.conf
|
||||
if ! grep -q "\<net.ipv4.ip_forward\>" /etc/sysctl.conf; then
|
||||
@ -488,10 +490,11 @@ resolv-retry infinite
|
||||
nobind
|
||||
persist-key
|
||||
persist-tun
|
||||
setenv opt block-outside-dns
|
||||
verb 3
|
||||
remote-cert-tls server
|
||||
cipher AES-256-CBC
|
||||
auth SHA512
|
||||
setenv opt block-outside-dns
|
||||
tls-version-min 1.2
|
||||
tls-client" >> /etc/openvpn/client-common.txt
|
||||
if [[ "$VARIANT" = '1' ]]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user