from now to later - no connection to network drives

This forum is for admins who are looking to build or expand their OpenVPN setup.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
goodfred
OpenVpn Newbie
Posts: 8
Joined: Fri May 14, 2021 11:34 am

from now to later - no connection to network drives

Post by goodfred » Wed Jun 23, 2021 10:17 am

Hello everyone!

From now to later I cant access the network drives anymore.
I hope you can help!

We dont changed any configuration.
The client can establish a connection (and I see it in the servers log)
but the client cannot access anymore network drives and we cant ping the server anymore.

I hope we dont need to upgrade the installation of openVPN.
We are using the OpenVPN GUI 11.15.0.0 and an OpenVPN version from 2018.

We copied the .ovpn config file to our computers and tried to establish the connection here.
But the same problem occurs. We cant use network drives and cannot ping the server.

I hope for help in here and I stay
with best gegards!

Goodfred

P.S.: Additional information:
Version: OpenVPN 2.4.9 x86_64-w64-mingw32

Serverside log
Wed Jun 23 15:50:02 2021 x.x.x.x:60496 TLS: Initial packet from [AF_INET]x.x.x.x:60496, sid=b0b05a3d 2db20461
Wed Jun 23 15:50:02 2021 x.x.x.x:60496 VERIFY OK: depth=1, C=DE, ST=BW, L=Stadt, O=Firma, OU=Firma, CN=server.firma-domain.de, name=Firma OpenVPN Key, emailAddress=info@firma-domain.de
Wed Jun 23 15:50:02 2021 x.x.x.x:60496 VERIFY OK: depth=0, C=DE, ST=BW, L=Stadt O=Firma, OU=Firma, CN=Firma, name=Firma OpenVPN Key, emailAddress=info@firma-domain.de
Wed Jun 23 15:50:02 2021 x.x.x.x:60496 peer info: IV_VER=2.4.9
Wed Jun 23 15:50:02 2021 x.x.x.x:60496 peer info: IV_PLAT=win
Wed Jun 23 15:50:02 2021 x.x.x.x:60496 peer info: IV_PROTO=2
Wed Jun 23 15:50:02 2021 x.x.x.x:60496 peer info: IV_NCP=2
Wed Jun 23 15:50:02 2021 x.x.x.x:60496 peer info: IV_LZ4=1
Wed Jun 23 15:50:02 2021 x.x.x.x:60496 peer info: IV_LZ4v2=1
Wed Jun 23 15:50:02 2021 x.x.x.x:60496 peer info: IV_LZO=1
Wed Jun 23 15:50:02 2021 x.x.x.x:60496 peer info: IV_COMP_STUB=1
Wed Jun 23 15:50:02 2021 x.x.x.x:60496 peer info: IV_COMP_STUBv2=1
Wed Jun 23 15:50:02 2021 x.x.x.x:60496 peer info: IV_TCPNL=1
Wed Jun 23 15:50:02 2021 x.x.x.x:60496 peer info: IV_GUI_VER=OpenVPN_GUI_11
Wed Jun 23 15:50:02 2021 x.x.x.x:60496 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 4096 bit RSA
Wed Jun 23 15:50:02 2021 x.x.x.x:60496 [Firma] Peer Connection Initiated with [AF_INET]x.x.x.x:60496
Wed Jun 23 15:50:02 2021 MULTI: new connection by client 'Firma' will cause previous active sessions by this client to be dropped. Remember to use the --duplicate-cn option if you want multiple clients using the same certificate or username to concurrently connect.
Wed Jun 23 15:50:02 2021 MULTI_sva: pool returned IPv4=x.x.x.x, IPv6=(Not enabled)
Wed Jun 23 15:50:02 2021 MULTI: Learn: x.x.x.x -> Firma/x.x.x.x:60496
Wed Jun 23 15:50:02 2021 MULTI: primary virtual IP for Firma/x.x.x.x:60496: x.x.x.x
Wed Jun 23 15:50:03 2021 Firma/x.x.x.x:60496 PUSH: Received control message: 'PUSH_REQUEST'
Wed Jun 23 15:50:03 2021 Firma/x.x.x.x:60496 SENT CONTROL [Firma]: 'PUSH_REPLY,route 10.19.15.0 255.255.255.0,topology net30,ping 10,ping-restart 120,ifconfig x.x.x.x x.x.x.x,peer-id 1,cipher AES-256-GCM' (status=1)
Wed Jun 23 15:50:03 2021 Firma/x.x.x.x:60496 Data Channel: using negotiated cipher 'AES-256-GCM'
Wed Jun 23 15:50:03 2021 Firma/x.x.x.x:60496 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Wed Jun 23 15:50:03 2021 Firma/x.x.x.x:60496 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key


Client log
Wed Jun 23 15:52:39 2021 SIGHUP[hard,] received, process restarting
Wed Jun 23 15:52:39 2021 OpenVPN 2.4.9 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 16 2020
Wed Jun 23 15:52:39 2021 Windows version 6.2 (Windows 8 or greater) 64bit
Wed Jun 23 15:52:39 2021 library versions: OpenSSL 1.1.1f 31 Mar 2020, LZO 2.10
Wed Jun 23 15:52:44 2021 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Wed Jun 23 15:52:44 2021 TCP/UDP: Preserving recently used remote address: [AF_INET]x.x.x.x:1194
Wed Jun 23 15:52:44 2021 UDP link local: (not bound)
Wed Jun 23 15:52:44 2021 UDP link remote: [AF_INET]x.x.x.x:1194
Wed Jun 23 15:52:44 2021 [server.firma-domain.de] Peer Connection Initiated with [AF_INET]x.x.x.x:1194
Wed Jun 23 15:52:45 2021 open_tun
Wed Jun 23 15:52:45 2021 TAP-WIN32 device [LAN-Verbindung] opened: \\.\Global\{F1F6CBC6-759A-4CBF-8CC1-5B9F5C690398}.tap
Wed Jun 23 15:52:45 2021 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.19.15.10/255.255.255.252 on interface {F1F6CBC6-759A-4CBF-8CC1-5B9F5C690398} [DHCP-serv: 10.19.15.9, lease-time: 31536000]
Wed Jun 23 15:52:45 2021 Successful ARP Flush on interface [38] {F1F6CBC6-759A-4CBF-8CC1-5B9F5C690398}
Wed Jun 23 15:52:50 2021 Initialization Sequence Completed



Server configuration
#################################################
# OpenVPN (MvA-Networks Conf)
# VPN Server Configuration
#
# Copyright 2006-2019 (04.09.2019) www.mva.ch
# MvA Internet Services GmbH
#################################################

local 192.168.178.150
port 1194
proto udp
dev tun

# ----------------------------------------------
# Zertifikate
# ----------------------------------------------

dh "C:\\Programme\\OpenVPN\\server-keys\\dh2048.pem"
ca "C:\\Programme\\OpenVPN\\server-keys\\ca.crt"
cert "C:\\Programme\\OpenVPN\\server-keys\\server.crt"
key "C:\\Programme\\OpenVPN\\server-keys\\server.key"

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

server 10.19.15.0 255.255.255.0
ifconfig-pool-persist "C:\\Programme\\OpenVPN\\ipp.txt"
client-to-client

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

client-config-dir "C:\\Programme\\OpenVPN\\ccd"
push "route 192.168.178.0 255.255.255.0"
push "dhcp-option DNS 192.168.178.10"

# ----------------------------------------------
# Defaults
# ----------------------------------------------

keepalive 10 120
compress lz4
persist-key
persist-tun
#;cipher AES-128-CBC
#duplicate-cn

# ----------------------------------------------
# Logging
# ----------------------------------------------

status "C:\\Programme\\OpenVPN\\log\\openvpn-status.log"
log "C:\\Programme\\OpenVPN\\log\\openvpn.log"
log-append "C:\\Programme\\OpenVPN\\log\\openvpn.log"
verb 3


Client configuration
client
dev tun

proto udp
remote xxx.xxx.xxx.xxx 1194
resolv-retry infinite
nobind
persist-key
persist-tun

<ca>
-- da den Inhalt der Datei ca.crt kopieren
</ca>
<cert>
-- da den Inhalt der Datei <Benutzer>.crt kopieren
</cert>
<key>
-- da den Inhalt der Datei <Benutzer>.key kopieren
</key>

compress lz4
#verb 3


If you need more information, feel free to ask! :)
Last edited by goodfred on Wed Jun 23, 2021 2:18 pm, edited 4 times in total.

goodfred
OpenVpn Newbie
Posts: 8
Joined: Fri May 14, 2021 11:34 am

Re: from now to later - no connection to network drives

Post by goodfred » Wed Jun 23, 2021 1:27 pm

If you have questions, feel free to ask! :)

User avatar
TinCanTech
Forum Team
Posts: 9363
Joined: Fri Jun 03, 2016 1:17 pm

Re: from now to later - no connection to network drives

Post by TinCanTech » Wed Jun 23, 2021 1:30 pm

Please start here:
viewtopic.php?f=30&t=22603

goodfred
OpenVpn Newbie
Posts: 8
Joined: Fri May 14, 2021 11:34 am

Re: from now to later - no connection to network drives

Post by goodfred » Wed Jun 23, 2021 2:12 pm

TinCanTech wrote:
Wed Jun 23, 2021 1:30 pm
Please start here:
viewtopic.php?f=30&t=22603
I hope I have not forgotten something.
Thank you!

-----

I tried a server-restart what did not help.
Im searching the web now for hours and tried a fresh configuration file. Both did not help. But I will go on search the web. When I have a solution I will inform you!

Thanks!

goodfred

goodfred
OpenVpn Newbie
Posts: 8
Joined: Fri May 14, 2021 11:34 am

Re: from now to later - no connection to network drives

Post by goodfred » Wed Jun 23, 2021 3:09 pm

Because searching the web is consuming to much time we decided to completely reinstall OpenVPN.
We've found the old installer on the server.

Thank you anyway! ;)

User avatar
TinCanTech
Forum Team
Posts: 9363
Joined: Fri Jun 03, 2016 1:17 pm

Re: from now to later - no connection to network drives

Post by TinCanTech » Thu Jun 24, 2021 1:47 am

goodfred wrote:
Wed Jun 23, 2021 3:09 pm
We've found the old installer on the server
You have lol-cats on your keyboard ..

goodfred
OpenVpn Newbie
Posts: 8
Joined: Fri May 14, 2021 11:34 am

Re: from now to later - no connection to network drives

Post by goodfred » Thu Jun 24, 2021 8:07 am

I am trying at the moment to install the newest version,
but in all tutorials I find elements which are not present in the installation of the newest version.

Do you have any tipps how I should act if I want a completely new fresh installation of the newest version?

goodfred
OpenVpn Newbie
Posts: 8
Joined: Fri May 14, 2021 11:34 am

Re: from now to later - no connection to network drives

Post by goodfred » Thu Jun 24, 2021 8:27 am

Hinweis: Seit der Version 2.5 werden neue Tools ausgeliefert und die Erstellung der Zertifikate hat sich verändert!
(since the version 2.5 there are new tools integrated and the creation of certificates has changed)

P.S.: And I found this https://wiki.teltonika-networks.com/vie ... on_Windows (which is working fine with 2.5.3)

Post Reply