This commit is contained in:
Vasco
2026-04-21 22:49:43 +01:00
parent 8d1992c597
commit 445c99b10e
3 changed files with 10 additions and 2 deletions

7
TODO.md Normal file
View File

@@ -0,0 +1,7 @@
# Objectivos de acordo com o enunciado
## Goals
- [X] Configure a tunnel in the "road warrior"
- [ ] Enable two factor authentication with OpenSSL and Apache services
- [ ] Manage PKI: certification authorities, X.509 certificates, revocation and OCSP.

View File

@@ -1,7 +1,7 @@
client client
dev tun dev tun
proto udp proto udp
remote 10.60.0.3 1194 # ip da vpn gateway remote 193.136.212.1 1194 # ip da vpn gateway
persist-tun persist-tun
persist-key persist-key
@@ -18,3 +18,5 @@ auth-user-pass
tls-auth /etc/openvpn/client/ta.key 1 tls-auth /etc/openvpn/client/ta.key 1
remote-cert-tls server remote-cert-tls server
static-challenge "Enter TOTP: " 1
reneg-sec 0

View File

@@ -23,4 +23,3 @@ 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 static-challenge "Enter TOTP: " 1
handshake-window 120