diff --git a/VM_CONFIG.sh b/VM_CONFIG.sh index 86be8e7..ca388aa 100755 --- a/VM_CONFIG.sh +++ b/VM_CONFIG.sh @@ -7,7 +7,7 @@ if [[ "$USER" != "root" ]]; then fi yum install -y epel-release -yum install -y openvpn iptables-services dhcp-client +yum install -y openvpn iptables-services dhcp-client ntpsec systemctl stop firewalld systemctl disable firewalld systemctl mask firewalld diff --git a/VM_OPENSSL_APACHE.sh b/VM_OPENSSL_APACHE.sh index 6da4c76..4094be3 100644 --- a/VM_OPENSSL_APACHE.sh +++ b/VM_OPENSSL_APACHE.sh @@ -4,7 +4,8 @@ source VM_CONFIG.sh sudo yum install -y epel-release -sudo yum install -y openssl httpd mod_ssl mod_authnz_pam google-authenticator +sudo yum install -y openssl httpd mod_ssl mod_authnz_pam mod_authnz_pam google-authenticator +sudo yum install -y mod_session if_dentro="enp0s8" ip_dentro="10.60.0.1" diff --git a/www/index.html b/www/index.html index d12eddb..cd2b855 100644 --- a/www/index.html +++ b/www/index.html @@ -1,155 +1,13 @@ - - + - Internal Secure Portal - Coimbra VPN - + Coimbra VPN -
-
-
- -
- -
- - Securely Authenticated (2FA) -
- -

Protected Portal Access

-

Welcome to the Coimbra VPN Internal Network. Your identity has been verified via Client Certificate and Two-Factor Authentication (TOTP).

- - Logout Session -
-
+

Coimbra VPN

+

Lorem ipsum dolor, sit amet consectetur adipisicing elit. + Minima porro unde praesentium sint itaque optio, deserunt eum est voluptatum, natus nihil repellat amet impedit? Fugiat fugit ex quis molestiae sit.

+ diff --git a/www/login.html b/www/login.html index e490111..3adb08c 100644 --- a/www/login.html +++ b/www/login.html @@ -1,204 +1,25 @@ - - - - Identity Verification - Coimbra VPN - - - -
-
- -

Two-Factor Auth

-

Enter your UNIX credentials and TOTP code

-
- -
Invalid credentials or TOTP code.
- -
-
- - -
- -
- - -
- -
- - -
- - - - +
-
- - - +