Ver. 3.4.1 connects to VPN server but there is no traffic to the LAN
Posted: Fri Aug 25, 2023 7:05 pm
Hi,
I installed openvpn-connect-3.4.1.3150_signed.msi in a Windows 10 workstation, it connects to the VPN Server but there is no traffic, not ping, not ssh, nothing.
=== The VPN Server is a Mikrotik router running RouterOS 6.48.6
VPN Server IP: 10.34.100.1
LAN IP: 192.168.1.0/24
Router public IP: 190.18.185.247 (DDNS)
=== Client side:
LAN: 192.168.20.0/24
Public IP: 190.16.52.27 (DDNS)
two certificates, user, password + passphrase
C:\WINDOWS\system32>route print (while the vpn connection is established)
===========================================================================
ILista de interfaces
24...00 ff 3d 46 2a 47 ......TAP-Windows Adapter V9 for OpenVPN Connect
7...7a 57 69 fe 9c a2 ......Intel(R) PRO/1000 MT Network Connection
28...........................OpenVPN Data Channel Offload
1...........................Software Loopback Interface 1
===========================================================================
IPv4 Tabla de enrutamiento
===========================================================================
Rutas activas:
Destino de red Máscara de red Puerta de enlace Interfaz Métrica
0.0.0.0 0.0.0.0 192.168.20.1 192.168.20.196 25
127.0.0.0 255.0.0.0 En vínculo 127.0.0.1 331
127.0.0.1 255.255.255.255 En vínculo 127.0.0.1 331
127.255.255.255 255.255.255.255 En vínculo 127.0.0.1 331
172.16.100.0 255.255.255.0 En vínculo 172.16.100.100 257
172.16.100.100 255.255.255.255 En vínculo 172.16.100.100 257
172.16.100.255 255.255.255.255 En vínculo 172.16.100.100 257
190.18.185.247 255.255.255.255 192.168.20.1 192.168.20.196 281
192.168.1.0 255.255.255.0 10.34.100.1 172.16.100.100 257
192.168.20.0 255.255.255.0 En vínculo 192.168.20.196 281
192.168.20.196 255.255.255.255 En vínculo 192.168.20.196 281
192.168.20.255 255.255.255.255 En vínculo 192.168.20.196 281
224.0.0.0 240.0.0.0 En vínculo 127.0.0.1 331
224.0.0.0 240.0.0.0 En vínculo 192.168.20.196 281
224.0.0.0 240.0.0.0 En vínculo 172.16.100.100 257
255.255.255.255 255.255.255.255 En vínculo 127.0.0.1 331
255.255.255.255 255.255.255.255 En vínculo 192.168.20.196 281
255.255.255.255 255.255.255.255 En vínculo 172.16.100.100 257
===========================================================================
The .ovpn config file:
-----------------------------------
client
dev tun
proto tcp
remote aguerra.no-ip.biz 1194 #X.X.X.X replace with your public IP Address
resolv-retry infinite
nobind
persist-key
persist-tun
tls-client
remote-cert-tls server
ca ca-snj2.crt #Change the name certificates you exported for CA
cert snj2.crt #Change the name certificates you exported For Remote user
key snj2.key #Change the name key you exported For Remote user
cipher AES-128-CBC
auth SHA1
pull
auth-user-pass
verb 3
route 192.168.1.0 255.255.255.0
-----------------------------------
Note: is important to mention that if I replace the Windows 10 client with a Ubuntu client using the native VPN conection
I can connect tho the whole router's LAN via ssh, ping, etc.
What may be wrong here in the windows vpn config?
Regards
I installed openvpn-connect-3.4.1.3150_signed.msi in a Windows 10 workstation, it connects to the VPN Server but there is no traffic, not ping, not ssh, nothing.
=== The VPN Server is a Mikrotik router running RouterOS 6.48.6
VPN Server IP: 10.34.100.1
LAN IP: 192.168.1.0/24
Router public IP: 190.18.185.247 (DDNS)
=== Client side:
LAN: 192.168.20.0/24
Public IP: 190.16.52.27 (DDNS)
two certificates, user, password + passphrase
C:\WINDOWS\system32>route print (while the vpn connection is established)
===========================================================================
ILista de interfaces
24...00 ff 3d 46 2a 47 ......TAP-Windows Adapter V9 for OpenVPN Connect
7...7a 57 69 fe 9c a2 ......Intel(R) PRO/1000 MT Network Connection
28...........................OpenVPN Data Channel Offload
1...........................Software Loopback Interface 1
===========================================================================
IPv4 Tabla de enrutamiento
===========================================================================
Rutas activas:
Destino de red Máscara de red Puerta de enlace Interfaz Métrica
0.0.0.0 0.0.0.0 192.168.20.1 192.168.20.196 25
127.0.0.0 255.0.0.0 En vínculo 127.0.0.1 331
127.0.0.1 255.255.255.255 En vínculo 127.0.0.1 331
127.255.255.255 255.255.255.255 En vínculo 127.0.0.1 331
172.16.100.0 255.255.255.0 En vínculo 172.16.100.100 257
172.16.100.100 255.255.255.255 En vínculo 172.16.100.100 257
172.16.100.255 255.255.255.255 En vínculo 172.16.100.100 257
190.18.185.247 255.255.255.255 192.168.20.1 192.168.20.196 281
192.168.1.0 255.255.255.0 10.34.100.1 172.16.100.100 257
192.168.20.0 255.255.255.0 En vínculo 192.168.20.196 281
192.168.20.196 255.255.255.255 En vínculo 192.168.20.196 281
192.168.20.255 255.255.255.255 En vínculo 192.168.20.196 281
224.0.0.0 240.0.0.0 En vínculo 127.0.0.1 331
224.0.0.0 240.0.0.0 En vínculo 192.168.20.196 281
224.0.0.0 240.0.0.0 En vínculo 172.16.100.100 257
255.255.255.255 255.255.255.255 En vínculo 127.0.0.1 331
255.255.255.255 255.255.255.255 En vínculo 192.168.20.196 281
255.255.255.255 255.255.255.255 En vínculo 172.16.100.100 257
===========================================================================
The .ovpn config file:
-----------------------------------
client
dev tun
proto tcp
remote aguerra.no-ip.biz 1194 #X.X.X.X replace with your public IP Address
resolv-retry infinite
nobind
persist-key
persist-tun
tls-client
remote-cert-tls server
ca ca-snj2.crt #Change the name certificates you exported for CA
cert snj2.crt #Change the name certificates you exported For Remote user
key snj2.key #Change the name key you exported For Remote user
cipher AES-128-CBC
auth SHA1
pull
auth-user-pass
verb 3
route 192.168.1.0 255.255.255.0
-----------------------------------
Note: is important to mention that if I replace the Windows 10 client with a Ubuntu client using the native VPN conection
I can connect tho the whole router's LAN via ssh, ping, etc.
What may be wrong here in the windows vpn config?
Regards