fixed?
This commit is contained in:
@@ -6,7 +6,10 @@
|
|||||||
|
|
||||||
# --- configuração --- #
|
# --- configuração --- #
|
||||||
source VM_CONFIG.sh
|
source VM_CONFIG.sh
|
||||||
yum install -y google-authenticator
|
yum install -y google-authenticator qrencode ntpsec
|
||||||
|
systemctl stop chronyd
|
||||||
|
ntpdate pool.ntp.org
|
||||||
|
systemctl start chronyd
|
||||||
|
|
||||||
# --- forwarding --- #
|
# --- forwarding --- #
|
||||||
if_fora="enp0s8"
|
if_fora="enp0s8"
|
||||||
|
|||||||
@@ -16,3 +16,5 @@ auth SHA256
|
|||||||
|
|
||||||
auth-user-pass
|
auth-user-pass
|
||||||
tls-auth /etc/openvpn/client/ta.key 1
|
tls-auth /etc/openvpn/client/ta.key 1
|
||||||
|
|
||||||
|
remote-cert-tls server
|
||||||
|
|||||||
@@ -21,3 +21,6 @@ auth SHA256
|
|||||||
# plugin /usr/lib64/openvpn/plugins/openvpn-plugin-auth-pam.so login
|
# plugin /usr/lib64/openvpn/plugins/openvpn-plugin-auth-pam.so login
|
||||||
plugin /usr/lib64/openvpn/plugins/openvpn-plugin-auth-pam.so totp
|
plugin /usr/lib64/openvpn/plugins/openvpn-plugin-auth-pam.so totp
|
||||||
tls-auth /etc/openvpn/server/ta.key 0
|
tls-auth /etc/openvpn/server/ta.key 0
|
||||||
|
|
||||||
|
static-challenge "Enter TOTP: " 1
|
||||||
|
handshake-window 120
|
||||||
|
|||||||
Reference in New Issue
Block a user