Disconnects after selecting pictures in file share

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
jasonx3280
Posts: 2
Joined: Mon May 07, 2018 3:09 pm

Disconnects after selecting pictures in file share

Post by jasonx3280 » Mon May 07, 2018 3:39 pm

The situation is like this, I have a file share server together with the vpn server. On the client I connect to this server and map the share. I can individually access files such as pdf, word and such just fine. But whenever I open 2+ files or switch between pictures the VPN connection disconnects. The server seems to send a RST to the client and then the vpn connection get cut off.

Does anyone have any idea why it is like that?

Thank you in advance.

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: Disconnects after selecting pictures in file share

Post by thisjun » Wed May 23, 2018 7:22 am

Could you share the VPN server log?

jasonx3280
Posts: 2
Joined: Mon May 07, 2018 3:09 pm

Re: Disconnects after selecting pictures in file share

Post by jasonx3280 » Wed May 23, 2018 7:52 am

Thank you for the reply. I surely can give you the server log. Here it is (without the ip addresses):


2018-05-23 09:32:09.468 IPsec Client 61 ([public ip address client]:500 -> [local ip address server]:500): A new IPsec client is created.
2018-05-23 09:32:09.468 IPsec IKE Session (IKE SA) 64 (Client: 61) ([public ip address client]:500 -> [local ip address server]:500): A new IKE SA (Main Mode) is created. Initiator Cookie: 0xBC82F87FBBED3D2E, Responder Cookie: 0x547AF534A4B878AB, DH Group: MODP 2048 (Group 14), Hash Algorithm: SHA-1, Cipher Algorithm: AES-CBC, Cipher Key Size: 256 bits, Lifetime: 4294967295 Kbytes or 28800 seconds
2018-05-23 09:32:09.531 IPsec Client 61 ([public ip address client]:4500 -> [local ip address server]:4500): The port number information of this client is updated.
2018-05-23 09:32:09.531 IPsec Client 61 ([public ip address client]:4500 -> [local ip address server]:4500):
2018-05-23 09:32:09.531 IPsec IKE Session (IKE SA) 64 (Client: 61) ([public ip address client]:4500 -> [local ip address server]:4500): This IKE SA is established between the server and the client.
2018-05-23 09:32:09.546 IPsec IKE Session (IKE SA) 64 (Client: 61) ([public ip address client]:4500 -> [local ip address server]:4500): The client initiates a QuickMode negotiation.
2018-05-23 09:32:09.546 IPsec ESP Session (IPsec SA) 103 (Client: 61) ([public ip address client]:4500 -> [local ip address server]:4500): A new IPsec SA (Direction: Client -> Server) is created. SPI: 0x48C7A3E7, DH Group: (null), Hash Algorithm: SHA-1, Cipher Algorithm: AES-CBC, Cipher Key Size: 256 bits, Lifetime: 250000 Kbytes or 3600 seconds
2018-05-23 09:32:09.546 IPsec ESP Session (IPsec SA) 103 (Client: 61) ([public ip address client]:4500 -> [local ip address server]:4500): A new IPsec SA (Direction: Server -> Client) is created. SPI: 0x8C6E177E, DH Group: (null), Hash Algorithm: SHA-1, Cipher Algorithm: AES-CBC, Cipher Key Size: 256 bits, Lifetime: 250000 Kbytes or 3600 seconds
2018-05-23 09:32:09.578 IPsec Client 61 ([public ip address client]:4500 -> [local ip address server]:4500): The L2TP Server Module is started.
2018-05-23 09:32:09.578 IPsec ESP Session (IPsec SA) 103 (Client: 61) ([public ip address client]:4500 -> [local ip address server]:4500): This IPsec SA is established between the server and the client.
2018-05-23 09:32:09.640 L2TP PPP Session [[public ip address client]:1701]: A new PPP session (Upper protocol: L2TP) is started. IP Address of PPP Client: [public ip address client] (Hostname: "DESKTOP-92D0POO"), Port Number of PPP Client: 1701, IP Address of PPP Server: [local ip address server], Port Number of PPP Server: 1701, Client Software Name: "L2TP VPN Client - Microsoft", IPv4 TCP MSS (Max Segment Size): 1314 bytes
2018-05-23 09:32:09.796 On the TCP Listener (Port 0), a Client (IP address [public ip address client], Host name "[hostname]", Port number 1701) has connected.
2018-05-23 09:32:09.796 For the client (IP address: [public ip address client], host name: "[hostname]", port number: 1701), connection "CID-174-5441A16F54" has been created.
2018-05-23 09:32:09.796 SSL communication for connection "CID-174-5441A16F54" has been started. The encryption algorithm name is "(null)".
2018-05-23 09:32:09.812 [HUB "VPNbka"] The connection "CID-174-5441A16F54" (IP address: [public ip address client], Host name: [hostname], Port number: 1701, Client name: "L2TP VPN Client - Microsoft", Version: 4.27, Build: 9666) is attempting to connect to the Virtual Hub. The auth type provided is "External server authentication" and the user name is "laptop".
2018-05-23 09:32:09.812 [HUB "VPNbka"] Connection "CID-174-5441A16F54": Successfully authenticated as user "laptop".
2018-05-23 09:32:09.812 [HUB "VPNbka"] Connection "CID-174-5441A16F54": The new session "SID-LAPTOP-[L2TP]-55" has been created. (IP address: [public ip address client], Port number: 1701, Physical underlying protocol: "Legacy VPN - L2TP")
2018-05-23 09:32:09.812 [HUB "VPNbka"] Session "SID-LAPTOP-[L2TP]-55": The parameter has been set. Max number of TCP connections: 1, Use of encryption: No, Use of compression: No, Use of Half duplex communication: No, Timeout: 20 seconds.
2018-05-23 09:32:09.812 [HUB "VPNbka"] Session "SID-LAPTOP-[L2TP]-55": VPN Client details: (Client product name: "L2TP VPN Client - Microsoft", Client version: 427, Client build number: 9666, Server product name: "SoftEther VPN Server (64 bit)", Server version: 427, Server build number: 9666, Client OS name: "L2TP VPN Client - Microsoft", Client OS version: "-", Client product ID: "-", Client host name: "DESKTOP-92D0POO", Client IP address: "[public ip address client]", Client port number: 1701, Server host name: "[local ip address server]", Server IP address: "[local ip address server]", Server port number: 1701, Proxy host name: "", Proxy IP address: "0.0.0.0", Proxy port number: 0, Virtual Hub name: "VPNbka", Client unique ID: "CCC75A0604F5645DA20E0677B1049D71")
2018-05-23 09:32:09.828 L2TP PPP Session [[public ip address client]:1701]: Trying to request an IP address from the DHCP server.
2018-05-23 09:32:09.843 [HUB "VPNbka"] Session "SID-LOCALBRIDGE-53": The DHCP server of host "C8-BE-19-8F-20-4E" (192.168.0.1) on this session allocated, for host "SID-LAPTOP-[L2TP]-55" on another session "CA-C6-59-5C-3A-60", the new IP address 192.168.0.106.
2018-05-23 09:32:09.843 L2TP PPP Session [[public ip address client]:1701]: An IP address is assigned. IP Address of Client: 192.168.0.106, Subnet Mask: 255.255.255.0, Default Gateway: 192.168.0.1, Domain Name: "telenet.be", DNS Server 1: 192.168.0.1, DNS Server 2: 0.0.0.0, WINS Server 1: 0.0.0.0, WINS Server 2: 0.0.0.0, IP Address of DHCP Server: 192.168.0.1, Lease Lifetime: 604800 seconds
2018-05-23 09:32:09.843 L2TP PPP Session [[public ip address client]:1701]: The IP address and other network information parameters are set successfully. IP Address of Client: 192.168.0.106, Subnet Mask: 255.255.255.0, Default Gateway: 192.168.0.1, DNS Server 1: 192.168.0.1, DNS Server 2: 0.0.0.0, WINS Server 1: 0.0.0.0, WINS Server 2: 0.0.0.0
2018-05-23 09:36:36.756 L2TP PPP Session [[public ip address client]:1701]: A timeout on the PPP data transmitting occurred. The PPP client might be disconnected from the network.
2018-05-23 09:36:36.756 L2TP PPP Session [[public ip address client]:1701]: The PPP session is disconnected.
2018-05-23 09:36:38.287 IPsec ESP Session (IPsec SA) 103 (Client: 61) ([public ip address client]:4500 -> [local ip address server]:4500): This IPsec SA is deleted.
2018-05-23 09:36:38.287 IPsec IKE Session (IKE SA) 64 (Client: 61) ([public ip address client]:4500 -> [local ip address server]:4500): This IKE SA is deleted.
2018-05-23 09:36:38.287 IPsec ESP Session (IPsec SA) 103 (Client: 61) ([public ip address client]:4500 -> [local ip address server]:4500): This IPsec SA is deleted.
2018-05-23 09:36:38.287 IPsec Client 61 ([public ip address client]:4500 -> [local ip address server]:4500): This IPsec Client is deleted.
2018-05-23 09:36:39.350 [HUB "VPNbka"] Session "SID-LAPTOP-[L2TP]-55": The session has been terminated. The statistical information is as follows: Total outgoing data size: 20573748 bytes, Total incoming data size: 886671 bytes.
2018-05-23 09:36:39.381 Connection "CID-174-5441A16F54" terminated by the cause "The VPN session has been deleted. It is possible that either the administrator disconnected the session or the connection from the client to the VPN Server has been disconnected." (code 11).
2018-05-23 09:36:39.381 Connection "CID-174-5441A16F54" has been terminated.
2018-05-23 09:36:39.381 The connection with the client (IP address [public ip address client], Port number 1701) has been disconnected.
2018-05-23 09:37:21.368 Administration mode [RPC-2404]: The log file on the server "WINBOX" (log file "server_log/vpn_20180523.log") has been downloaded.

I tested this again just a few minutes ago. This is what I did:
9:32:03 VPN connection started from windows client
9:36:00 starting test: browsing through fileshare on windows client
9:36:15 vpn connection lost while pinging the network share with ping -t

This doesn't happen on my Mac OS clients though and doesn't happen with softether client software either. Only on L2TP for some reason and I don't seem to get how. I've tried multiple scenarios: copying the files and browsing through the files. It would randomly disconnect it. It would be nice if u can help.

thisjun
Posts: 2458
Joined: Mon Feb 24, 2014 11:03 am

Re: Disconnects after selecting pictures in file share

Post by thisjun » Tue Jun 12, 2018 7:11 am

Can you try SSTP?

Post Reply