I have deleted accidentally the previous post
Hello, i'm trying to setup an OpenVPN server on my raspberry pi 4. All is fine and with the command openvpn /etc/openvpn/server.conf it finished with Initialization Sequence Completed.
The problem is when I try to connect with the client to the server. It still loading and not connect never. Someone knows what can be the issue?
Client file:
proto udp
explicit-exit-notify
remote xxxxxxx 1194
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
verify-x509-name server name
auth SHA256
auth-nocache
cipher AES-128-GCM
tls-client
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
ignore-unknown-option block-outside-dns
setenv opt block-outside-dns # Prevent Windows 10 DNS leak
verb 3
And the crt, ca and key and tls-crypt files
Server file:
port 1194
proto udp
dev tun
user nobody
group nogroup
persist-key
persist-tun
keepalive 10 120
topology subnet
server
10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS
8.8.8.8"
push "dhcp-option DNS
8.8.4.4"
push "redirect-gateway def1 bypass-dhcp"
dh none
ecdh-curve prime256v1
tls-crypt tls-crypt.key
crl-verify crl.pem
ca ca.crt
cert server.crt
key server.key
auth SHA256
cipher AES-128-GCM
ncp-ciphers AES-128-GCM
LOG
https://easyupload.io/xgk78l