Configuration OpenVPN 2.6.0 on Windows 10

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
summerIsComing
OpenVpn Newbie
Posts: 1
Joined: Sun Mar 05, 2023 9:30 am

Configuration OpenVPN 2.6.0 on Windows 10

Post by summerIsComing » Sun Mar 05, 2023 10:28 am

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

Post Reply