Page 1 of 1

Configuration OpenVPN 2.6.0 on Windows 10

Posted: Sun Mar 05, 2023 10:28 am
by summerIsComing
Hello experts,

I'm connecting 2 Win 10 machines. Both have openVPN 2.6.0 installed.

I'm stuck because when both connected to the same LAN, then I'm able to connect but when trying to connect via public IP then it does not work.
- port forwarding on router is configured
- inbound firewall rules on server machine are configured
- tried both TCP and UDP protocol
- tried to disable firewall on server machine and router

When I ping port 1194 on public ip via "portqry" tool, there is no log created on server side.

Can you advise what can help to find the solution or how to analyze further?

thank you for any feedback.

I did configuration according to this video, which seems to be pretty informative.
https://www.youtube.com/watch?v=t15dU0ckgvc

Server

Code: Select all

port 1194
proto tcp
#proto udp
dev tun

ca ca.crt
cert server.crt
key server.key
dh dh.pem

server 192.66.77.0 255.255.255.0
#ifconfig-pool-persist ipp.txt
 
keepalive 10 120
 
comp-lzo

persist-key
persist-tun
 
status openvpn-status.log

verb 4
Client

Code: Select all

client

dev tun

proto tcp
#proto udp

remote xxx.xxx.xxx 1194
#remote 192.168.100.12 1194

resolv-retry infinite
nobind
persist-key
persist-tun

ca ca.crt
cert client01.crt
key client01.key

comp-lzo

verb 3

remote-cert-tls server

#redirect-gateway def1