This commit is contained in:
Vasco
2026-04-21 21:48:31 +01:00
parent 97c8b30452
commit f8b9d52a96
15 changed files with 59 additions and 70 deletions

18
conf/client.conf Normal file
View File

@@ -0,0 +1,18 @@
client
dev tun
proto udp
remote 10.60.0.3 1194 # ip da vpn gateway
persist-tun
persist-key
# certificados
ca /etc/openvpn/client/ca.crt
cert /etc/openvpn/client/user.crt
key /etc/openvpn/client/user.key
# auth
cipher AES-256-GCM
auth SHA256
auth-user-pass
tls-auth /etc/openvpn/client/ta.key 1