It is currently 15.12.2017 19:51


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Folder sharing disable but was previously working
PostPosted: 02.10.2014 09:01 
DES
DES

Joined: 02.10.2014 08:45
Posts: 1
Hi all,

I have installed a few years ago a OpenVPN server in a company. The server and client are both on Windows.
The client connected very well and they can use the file sharing.
A few weeks ago, the company made modifications on their netork by adding a second adsl box and made modification in the IP configuration of the netword and "maybe" on the windows server.
I did not remember how was the netword configuration previously and they can't tell me what are the diffrences know.

Now, the OpenVPN clients can still connect very well to the server (the openVpn client icon is green) but the file sharing did'nt work.

Did you have any idea ?


Regards,

Emmanuel


---------------------
Conf client.ovpn

Code:
client
dev tap
proto udp
remote theGoodSubDomain.dyndns-server.com 11194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client16.crt
key client16.key
ns-cert-type server
tls-auth ta.key 1
comp-lzo
verb 3



-----------------------
Open VPN Server configuration

Code:
port 11194
proto udp
dev tap
dev-node OpenVPN1
ca ca.crt
cert server.crt
key server.key 
dh dh1024.pem
ifconfig-pool-persist ipp.txt
server-bridge 192.168.1.170 255.255.255.0 192.168.1.171 192.168.1.190
client-to-client
keepalive 10 120
tls-auth ta.key 0
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3


--------------------
>ipconfig

Code:
IPConfig of the Windows PC where the OpenVPN server is installed

Configuration IP of Windows


Carte Ethernet Connexion au réseau local :

        Suffixe DNS propre à la connexion  :
        Adresse IP. . . . . . . . . . . .  : 192.168.1.250
        Masque de sous-réseau . . . . . .  : 255.255.255.0
        Passerelle par défaut . . . . . .  : 192.168.1.2

Carte Ethernet OpenVPN1 :
        Suffixe DNS propre à la connexion  :
        Autoconfiguration d'adresse IP. .  : 169.254.206.181
        Masque de sous-réseau . . . . . .  : 255.255.0.0
        Passerelle par défaut . . . . . .  :


Carte Ethernet Connexion au réseau local 3 :
        Suffixe DNS propre à la connexion  :
        Autoconfiguration d'adresse IP. .  : 169.254.32.185
        Masque de sous-réseau . . . . . .  : 255.255.0.0
        Passerelle par défaut . . . . . .  :


----------------------------

The server log at startup :

Code:
Thu Oct 02 10:14:35 2014 OpenVPN 2.0.9 Win32-MinGW [SSL] [LZO] built on Oct  1 2006
Thu Oct 02 10:14:35 2014 Diffie-Hellman initialized with 1024 bit key
Thu Oct 02 10:14:35 2014 Control Channel Authentication: using 'ta.key' as a OpenVPN static key file
Thu Oct 02 10:14:35 2014 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Oct 02 10:14:35 2014 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Oct 02 10:14:35 2014 TLS-Auth MTU parms [ L:1574 D:166 EF:66 EB:0 ET:0 EL:0 ]
Thu Oct 02 10:14:35 2014 TAP-WIN32 device [OpenVPN1] opened: \\.\Global\{D72606A2-1D74-414F-BBA5-FD32D8418A0B}.tap
Thu Oct 02 10:14:35 2014 TAP-Win32 Driver Version 8.4
Thu Oct 02 10:14:35 2014 TAP-Win32 MTU=1500
Thu Oct 02 10:14:35 2014 Sleeping for 10 seconds...
Thu Oct 02 10:14:45 2014 NOTE: FlushIpNetTable failed on interface [3] {D72606A2-1D74-414F-BBA5-FD32D8418A0B} (status=259) : Aucune donnée n'est disponible. 
Thu Oct 02 10:14:45 2014 Data Channel MTU parms [ L:1574 D:1450 EF:42 EB:135 ET:32 EL:0 AF:3/1 ]
Thu Oct 02 10:14:45 2014 UDPv4 link local (bound): [undef]:11194
Thu Oct 02 10:14:45 2014 UDPv4 link remote: [undef]
Thu Oct 02 10:14:45 2014 MULTI: multi_init called, r=256 v=256
Thu Oct 02 10:14:45 2014 IFCONFIG POOL: base=192.168.1.171 size=20
Thu Oct 02 10:14:45 2014 IFCONFIG POOL LIST
Thu Oct 02 10:14:45 2014 client1,192.168.1.171
Thu Oct 02 10:14:45 2014 client2,192.168.1.172
Thu Oct 02 10:14:45 2014 client5,192.168.1.173
Thu Oct 02 10:14:45 2014 client6,192.168.1.174
Thu Oct 02 10:14:45 2014 client7,192.168.1.175
Thu Oct 02 10:14:45 2014 client6,192.168.1.176
Thu Oct 02 10:14:45 2014 client1,192.168.1.177
Thu Oct 02 10:14:45 2014 client_13,192.168.1.178
Thu Oct 02 10:14:45 2014 client20,192.168.1.179
Thu Oct 02 10:14:45 2014 client19,192.168.1.180
Thu Oct 02 10:14:45 2014 client16,192.168.1.181
Thu Oct 02 10:14:45 2014 client16,192.168.1.182
Thu Oct 02 10:14:45 2014 Initialization Sequence Completed


----------------------------------------------------------------

the openVPN logs when the OpenVpn client connect :

Code:
Thu Oct 02 10:15:55 2014 MULTI: multi_create_instance called
Thu Oct 02 10:15:55 2014 77.192.111.22:63900 Re-using SSL/TLS context
Thu Oct 02 10:15:55 2014 77.192.111.22:63900 LZO compression initialized
Thu Oct 02 10:15:55 2014 77.192.111.22:63900 Control Channel MTU parms [ L:1574 D:166 EF:66 EB:0 ET:0 EL:0 ]
Thu Oct 02 10:15:55 2014 77.192.111.22:63900 Data Channel MTU parms [ L:1574 D:1450 EF:42 EB:135 ET:32 EL:0 AF:3/1 ]
Thu Oct 02 10:15:55 2014 77.192.111.22:63900 Local Options hash (VER=V4): '360696c5'
Thu Oct 02 10:15:55 2014 77.192.111.22:63900 Expected Remote Options hash (VER=V4): '13a273ba'
Thu Oct 02 10:15:55 2014 77.192.111.22:63900 TLS: Initial packet from 77.192.111.22:63900, sid=5502730f 27d669bc
Thu Oct 02 10:16:05 2014 77.192.111.22:63900 VERIFY OK: depth=1, /C=FR/ST=PC/L=La/O=Cri/CN=OpenVPNCr/emailAddress=cristal@cristalgroupe.com
Thu Oct 02 10:16:05 2014 77.192.111.22:63900 VERIFY OK: depth=0, /C=FR/ST=PC/O=CrisABCD/CN=client16/emailAddress=cris@thedomain.com
Thu Oct 02 10:16:08 2014 77.192.111.22:63900 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Oct 02 10:16:08 2014 77.192.111.22:63900 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Oct 02 10:16:08 2014 77.192.111.22:63900 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Oct 02 10:16:08 2014 77.192.111.22:63900 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Oct 02 10:16:08 2014 77.192.111.22:63900 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Thu Oct 02 10:16:08 2014 77.192.111.22:63900 [client16] Peer Connection Initiated with 77.192.111.22:63900
Thu Oct 02 10:16:10 2014 client16/77.192.111.22:63900 PUSH: Received control message: 'PUSH_REQUEST'
Thu Oct 02 10:16:10 2014 client16/77.192.111.22:63900 SENT CONTROL [client16]: 'PUSH_REPLY,route-gateway 192.168.1.170,ping 10,ping-restart 120,ifconfig 192.168.1.181 255.255.255.0' (status=1)
Thu Oct 02 10:16:11 2014 client16/77.192.111.22:63900 MULTI: Learn: 00:ff:13:75:5e:95 -> client16/77.192.111.22:63900



-------------------------------------------


The client log when it is connected to the OpenVPN Server :

Code:
Thu Oct 02 10:23:12 2014 OpenVPN 2.3.2 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [eurephia] [IPv6] built on Aug 22 2013
Thu Oct 02 10:23:12 2014 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Thu Oct 02 10:23:12 2014 Need hold release from management interface, waiting...
Thu Oct 02 10:23:12 2014 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Thu Oct 02 10:23:12 2014 MANAGEMENT: CMD 'state on'
Thu Oct 02 10:23:12 2014 MANAGEMENT: CMD 'log all on'
Thu Oct 02 10:23:12 2014 MANAGEMENT: CMD 'hold off'
Thu Oct 02 10:23:12 2014 MANAGEMENT: CMD 'hold release'
Thu Oct 02 10:23:13 2014 Control Channel Authentication: using 'ta.key' as a OpenVPN static key file
Thu Oct 02 10:23:13 2014 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Oct 02 10:23:13 2014 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Oct 02 10:23:13 2014 Socket Buffers: R=[8192->8192] S=[8192->8192]
Thu Oct 02 10:23:13 2014 MANAGEMENT: >STATE:1412238193,RESOLVE,,,
Thu Oct 02 10:23:13 2014 UDPv4 link local: [undef]
Thu Oct 02 10:23:13 2014 UDPv4 link remote: [AF_INET]77.145.222.33:11194
Thu Oct 02 10:23:13 2014 MANAGEMENT: >STATE:1412238193,WAIT,,,
Thu Oct 02 10:23:13 2014 MANAGEMENT: >STATE:1412238193,AUTH,,,
Thu Oct 02 10:23:13 2014 TLS: Initial packet from [AF_INET]77.145.222.33:11194, sid=16a329e2 6bdfa883
Thu Oct 02 10:23:21 2014 VERIFY OK: depth=1, C=FR, ST=PC, L=LaXXX, O=Cri, CN=OpenVPNCr, emailAddress=cris@thedomain.com
Thu Oct 02 10:23:21 2014 VERIFY OK: nsCertType=SERVER
Thu Oct 02 10:23:21 2014 VERIFY OK: depth=0, C=FR, ST=PC, O=Cri, CN=server, emailAddress=cris@thedomaine.com
Thu Oct 02 10:23:26 2014 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Oct 02 10:23:26 2014 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Oct 02 10:23:26 2014 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Oct 02 10:23:26 2014 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Oct 02 10:23:26 2014 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Thu Oct 02 10:23:26 2014 [server] Peer Connection Initiated with [AF_INET]77.145.222.33:11194
Thu Oct 02 10:23:27 2014 MANAGEMENT: >STATE:1412238207,GET_CONFIG,,,
Thu Oct 02 10:23:28 2014 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Thu Oct 02 10:23:29 2014 PUSH: Received control message: 'PUSH_REPLY,route-gateway 192.168.1.170,ping 10,ping-restart 120,ifconfig 192.168.1.181 255.255.255.0'
Thu Oct 02 10:23:29 2014 OPTIONS IMPORT: timers and/or timeouts modified
Thu Oct 02 10:23:29 2014 OPTIONS IMPORT: --ifconfig/up options modified
Thu Oct 02 10:23:29 2014 OPTIONS IMPORT: route-related options modified
Thu Oct 02 10:23:29 2014 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Oct 02 10:23:29 2014 MANAGEMENT: >STATE:1412238209,ASSIGN_IP,,192.168.1.181,
Thu Oct 02 10:23:29 2014 open_tun, tt->ipv6=0
Thu Oct 02 10:23:29 2014 TAP-WIN32 device [Connexion au réseau local 7] opened: \\.\Global\{13755E95-B723-4579-9B94-54D1759752DA}.tap
Thu Oct 02 10:23:29 2014 TAP-Windows Driver Version 9.9
Thu Oct 02 10:23:29 2014 Notified TAP-Windows driver to set a DHCP IP/netmask of 192.168.1.181/255.255.255.0 on interface {13755E95-B723-4579-9B94-54D1759752DA} [DHCP-serv: 192.168.1.0, lease-time: 31536000]
Thu Oct 02 10:23:29 2014 Successful ARP Flush on interface [30] {13755E95-B723-4579-9B94-54D1759752DA}
Thu Oct 02 10:23:34 2014 TEST ROUTES: 0/0 succeeded len=0 ret=1 a=0 u/d=up
Thu Oct 02 10:23:34 2014 Initialization Sequence Completed
Thu Oct 02 10:23:34 2014 MANAGEMENT: >STATE:1412238214,CONNECTED,SUCCESS,192.168.1.181,77.145.222.33

-----------------
When I ping the server from the client :

ping 192.168.1.250 (the ip of the server (the same where openvpn server si installed) where they are the shared folders
delay expired.

--------------------------------------------


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ]  Moderator: Moderators

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net