[oconf] Are OpenVPN client and server looks correct for RDP connection? Windows 10 | 2.5.8

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
vegold
OpenVpn Newbie
Posts: 1
Joined: Tue Feb 07, 2023 6:00 am

[oconf] Are OpenVPN client and server looks correct for RDP connection? Windows 10 | 2.5.8

Post by vegold » Tue Feb 07, 2023 6:24 am

I have public external IP address and internal local ip
Port rule configured in the firewall
Forwarded port 1194 to an external ip through a MikroTik router
The TLS ta.key is present in the directory
OVPN Version 2.5.8
server

Code: Select all

port 1194
proto udp4
dev tun
topology subnet
ca "C:\\Program Files\\OpenVPN\\easy-rsa\\pki\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\easy-rsa\\pki\\issued\\server.crt"
key "C:\\Program Files\\OpenVPN\\easy-rsa\\pki\\private\\server.key"
dh "C:\\Program Files\\OpenVPN\\easy-rsa\\pki\\dh.pem"
server 10.12.13.0 255.255.255.0
tls-auth "C:\\Program Files\\OpenVPN\\easy-rsa\\pki\\ta.key" 0
push "dhcp-option DNS 8.8.8.8"
cipher AES-256-GCM
keepalive 20 60
persist-key
persist-tun
client-to-client
status "C:\\Program Files\\OpenVPN\\log\\status.log"
log "C:\\Program Files\\OpenVPN\\log\\openvpn.log"
verb 3
mute 20
windows-driver wintun
user nobody
group nogroup
ifconfig-pool-persist ipp.txt
client

Code: Select all

client
dev tun
proto udp
remote 9X.XX.ZZZ.Y 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert user1.crt
key user1.key
remote-cert-tls server
tls-auth ta.key 1
cipher AES-256-GCM
connect-retry-max 25
verb 3
Error: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

Post Reply