I'm trying to setup VPN on friend's Windows VPS, i never though it will be such a nightmare compare to Linux.
I'll followed this guide https://wiki.teltonika-networks.com/vie ... on_Windows , however i think there is missing point.
VPS itself can connect to the server.ovpn without any problems( I guess it's required to be connected like that to be online, as i never did this before)
Problem is i can't join from the client side no matter what... I'm frustrated from this and was not able to find answer anywhere.
Server.ovpn configuration:
Code: Select all
port 1194
proto udp
dev tun
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\server_customname.crt"
key "C:\\Program Files\\OpenVPN\\config\\server_customname.key"
dh "C:\\Program Files\\OpenVPN\\config\\dh2048.pem"
server 10.8.0.0 255.255.255.0
keepalive 10 120
cipher AES-256-CBC
ncp-ciphers AES-128-GCM
push "block-outside-dns"
push "dhcp-option DNS 9.9.9.9"
push "dhcp-option DNS 149.112.112.112"
push "redirect-gateway def1 bypass-dhcp"
tls-server
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
persist-key
persist-tun
verb 3
explicit-exit-notify 1
client-config-dir "C:\\Program Files\\OpenVPN\\config\\ccd"
ifconfig-pool-persist "C:\\Program Files\\OpenVPN\\log\\ipp.tx"
Code: Select all
client
proto udp
explicit-exit-notify
remote MYIP 1194
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
verify-x509-name server_customname 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
-----BEGIN CERTIFICATE-----
ALL KEYS BELOW
Here is a log report https://pastebin.com/GgZyPaHw
Help will be much appreciated as I'm really frustrated from this setup of OpenVPN on windows