Page 1 of 1

OpenVPN connects but not pingable

Posted: Sun Oct 13, 2019 8:29 pm
by eix0r
Hey so I set up an OpenVPN on MS2016 (*sigh*), this is a hosted server running a license server for a CAD Software.

I have two clients where the CAD Software is running which I want to be able to connect to the server to authenticate the software. So they connect to the MS2016 server which hosts the openvpn and the license server, the connect works but they cant ping each other. If I turn off the firewall on the client I can ping from server -> client but not the other way around. Any ideas how I can fix this without turning off the fw?

Re: OpenVPN connects but not pingable

Posted: Sun Oct 13, 2019 8:31 pm
by eix0r
Server:
Server Config
##########################
# VPN Server for clients
##########################

# Lokale IP auf welche der Socket/Port gebunden wird
local XXXX

#Listener des OpenVPN Servers
port 1194

#Protokoll des Servers
proto udp
dev tun
# Zuweisung auf separaten Adapter
dev-node "ovpn"

##########################
# Zertifikate
##########################

dh "C:\\Program Files\\OpenVPN\\keys\\dh2048.pem"
ca "C:\\Program Files\\OpenVPN\\keys\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\keys\\XXX.crt"
key "C:\\Program Files\\OpenVPN\\keys\\XXX.key"

##########################
# Server-Setup
##########################

# DHCP Subnetz
server 10.0.100.0 255.255.255.0
ifconfig-pool-persist "C:\\Program Files\\OpenVPN\\ipp.txt"

#Ermöglichen von Anfragen von einem Client zum anderen, bei Bedarf die Zeile entfernen
client-to-client

##########################
# Client-Settings (inkl Special Dir)Files
##########################

client-config-dir "C:\\Program Files\\OpenVPN\\ccd"
#push "route 192.168.1.0 255.255.255.0"

##########################
# Defaults
##########################

keepalive 10 120
comp-lzo
persist-key
persist-tun

##########################
# Logging
##########################

status "C:\\Program Files\\OpenVPN\\log\\vpn_server_client_status.log"
log "C:\\Program Files\\OpenVPN\\log\\vpn_server_client.log"
log-append "C:\\Program Files\\OpenVPN\\log\\vpn_server_client.log"
verb 3

Re: OpenVPN connects but not pingable

Posted: Sun Oct 13, 2019 9:47 pm
by TinCanTech
eix0r wrote: ↑
Sun Oct 13, 2019 8:29 pm
I turn off the firewall on the client I can ping from server -> client but not the other way around. Any ideas how I can fix this without turning off the fw?
Fix your firewall ..

Re: OpenVPN connects but not pingable

Posted: Mon Oct 14, 2019 6:30 am
by eix0r
Very helpful thats why i turned to this forum where I am hoping to find people who know how to whitelist the ovpn tun adapter in windows 10.

Re: OpenVPN connects but not pingable

Posted: Mon Oct 14, 2019 9:46 am
by TinCanTech
We support openvpn not windows firewall.. try google.