Failing to gain IP address from DHCP after a few days.
Posted: Fri Apr 06, 2018 11:35 am
Hi All,
I have an Softether server set up for simple use of access to my network from anywhere...
My VPN hub is bridge to my local network, and my local DHCP server provide IP for connected clients.
Most of the time it is working without any issue, but sometimes it just stop working. The client still can connect to VPN server, but does not gain IP from DHCP server. To resolve the issue I have to restart completely my server(I am not able to restart the VPN hub only at that stage). This issue occur every few days and make my VPN network very unreliable.
I am not quiet sure which log Should I provide. so I start with this:
Example of log when VPN works fine:
2018-04-06 11:48:26.228 [HUB "VPN"] The connection "CID-2-E4C1A58820" (IP address: 46.7.127.82, Host name: 46.7.127.82, Port number: 2442, Client name: "SoftEther VPN Client", Version: 4.20, Build: 9608) is attempting to connect to the Virtual Hub. The auth type provided is "Password authentication" and the user name is "KriszLaptop".
2018-04-06 11:48:26.228 [HUB "VPN"] Connection "CID-2-E4C1A58820": Successfully authenticated as user "KriszLaptop".
2018-04-06 11:48:26.228 [HUB "VPN"] Connection "CID-2-E4C1A58820": The new session "SID-KRISZLAPTOP-2" has been created. (IP address: 46.7.127.82, Port number: 2442, Physical underlying protocol: "Standard TCP/IP (IPv4)")
2018-04-06 11:48:26.228 [HUB "VPN"] Session "SID-KRISZLAPTOP-2": The parameter has been set. Max number of TCP connections: 2, Use of encryption: Yes, Use of compression: No, Use of Half duplex communication: No, Timeout: 20 seconds.
2018-04-06 11:48:26.238 [HUB "VPN"] Session "SID-KRISZLAPTOP-2": VPN Client details: (Client product name: "SoftEther VPN Client", Client version: 420, Client build number: 9608, Server product name: "SoftEther VPN Server (64 bit)", Server version: 425, Server build number: 9656, Client OS name: "Windows 10", Client OS version: "Build 16299, Multiprocessor Free (16299.rs3_release.170928-1534)", Client product ID: "--", Client host name: "KriszE7440", Client IP address: "192.168.0.17", Client port number: 2442, Server host name: "Kriszvpn2.softether.net", Server IP address: "46.7.19.181", Server port number: 446, Proxy host name: "", Proxy IP address: "0.0.0.0", Proxy port number: 0, Virtual Hub name: "vpn", Client unique ID: "87864C23C480FBBD5872BE7A370AE6EB")
2018-04-06 11:48:26.903 [HUB "VPN"] Session "SID-LOCALBRIDGE-1": The DHCP server of host "DC-53-7C-AE-AA-9F" (192.168.2.1) on this session allocated, for host "SID-KRISZLAPTOP-2" on another session "00-AC-7B-6D-40-BD", the new IP address 192.168.2.171.
2018-04-06 11:48:27.733 On the TCP Listener (Port 443), a Client (IP address 46.7.127.82, Host name "46.7.127.82", Port number 2457) has connected.
Example when VPN fails:
2018-04-06 11:37:13.764 [HUB "VPN"] The connection "CID-19-20FE800A74" (IP address: 46.7.127.82, Host name: 46.7.127.82, Port number: 2297, Client name: "SoftEther VPN Client", Version: 4.20, Build: 9608) is attempting to connect to the Virtual Hub. The auth type provided is "Password authentication" and the user name is "KriszLaptop".
2018-04-06 11:37:13.766 [HUB "VPN"] Connection "CID-19-20FE800A74": Successfully authenticated as user "KriszLaptop".
2018-04-06 11:37:13.766 [HUB "VPN"] Connection "CID-19-20FE800A74": The new session "SID-KRISZLAPTOP-8" has been created. (IP address: 46.7.127.82, Port number: 2297, Physical underlying protocol: "Standard TCP/IP (IPv4)")
2018-04-06 11:37:13.766 [HUB "VPN"] Session "SID-KRISZLAPTOP-8": The parameter has been set. Max number of TCP connections: 2, Use of encryption: Yes, Use of compression: No, Use of Half duplex communication: No, Timeout: 20 seconds.
2018-04-06 11:37:13.774 [HUB "VPN"] Session "SID-KRISZLAPTOP-8": VPN Client details: (Client product name: "SoftEther VPN Client", Client version: 420, Client build number: 9608, Server product name: "SoftEther VPN Server (64 bit)", Server version: 425, Server build number: 9656, Client OS name: "Windows 10", Client OS version: "Build 16299, Multiprocessor Free (16299.rs3_release.170928-1534)", Client product ID: "--", Client host name: "KriszE7440", Client IP address: "192.168.0.17", Client port number: 2297, Server host name: "Kriszvpn2.softether.net", Server IP address: "46.7.19.181", Server port number: 446, Proxy host name: "", Proxy IP address: "0.0.0.0", Proxy port number: 0, Virtual Hub name: "vpn", Client unique ID: "87864C23C480FBBD5872BE7A370AE6EB")
2018-04-06 11:37:15.198 On the TCP Listener (Port 443), a Client (IP address 46.7.127.82, Host name "46.7.127.82", Port number 2300) has connected.
Could anyone help me with this?
Thank you
I have an Softether server set up for simple use of access to my network from anywhere...
My VPN hub is bridge to my local network, and my local DHCP server provide IP for connected clients.
Most of the time it is working without any issue, but sometimes it just stop working. The client still can connect to VPN server, but does not gain IP from DHCP server. To resolve the issue I have to restart completely my server(I am not able to restart the VPN hub only at that stage). This issue occur every few days and make my VPN network very unreliable.
I am not quiet sure which log Should I provide. so I start with this:
Example of log when VPN works fine:
2018-04-06 11:48:26.228 [HUB "VPN"] The connection "CID-2-E4C1A58820" (IP address: 46.7.127.82, Host name: 46.7.127.82, Port number: 2442, Client name: "SoftEther VPN Client", Version: 4.20, Build: 9608) is attempting to connect to the Virtual Hub. The auth type provided is "Password authentication" and the user name is "KriszLaptop".
2018-04-06 11:48:26.228 [HUB "VPN"] Connection "CID-2-E4C1A58820": Successfully authenticated as user "KriszLaptop".
2018-04-06 11:48:26.228 [HUB "VPN"] Connection "CID-2-E4C1A58820": The new session "SID-KRISZLAPTOP-2" has been created. (IP address: 46.7.127.82, Port number: 2442, Physical underlying protocol: "Standard TCP/IP (IPv4)")
2018-04-06 11:48:26.228 [HUB "VPN"] Session "SID-KRISZLAPTOP-2": The parameter has been set. Max number of TCP connections: 2, Use of encryption: Yes, Use of compression: No, Use of Half duplex communication: No, Timeout: 20 seconds.
2018-04-06 11:48:26.238 [HUB "VPN"] Session "SID-KRISZLAPTOP-2": VPN Client details: (Client product name: "SoftEther VPN Client", Client version: 420, Client build number: 9608, Server product name: "SoftEther VPN Server (64 bit)", Server version: 425, Server build number: 9656, Client OS name: "Windows 10", Client OS version: "Build 16299, Multiprocessor Free (16299.rs3_release.170928-1534)", Client product ID: "--", Client host name: "KriszE7440", Client IP address: "192.168.0.17", Client port number: 2442, Server host name: "Kriszvpn2.softether.net", Server IP address: "46.7.19.181", Server port number: 446, Proxy host name: "", Proxy IP address: "0.0.0.0", Proxy port number: 0, Virtual Hub name: "vpn", Client unique ID: "87864C23C480FBBD5872BE7A370AE6EB")
2018-04-06 11:48:26.903 [HUB "VPN"] Session "SID-LOCALBRIDGE-1": The DHCP server of host "DC-53-7C-AE-AA-9F" (192.168.2.1) on this session allocated, for host "SID-KRISZLAPTOP-2" on another session "00-AC-7B-6D-40-BD", the new IP address 192.168.2.171.
2018-04-06 11:48:27.733 On the TCP Listener (Port 443), a Client (IP address 46.7.127.82, Host name "46.7.127.82", Port number 2457) has connected.
Example when VPN fails:
2018-04-06 11:37:13.764 [HUB "VPN"] The connection "CID-19-20FE800A74" (IP address: 46.7.127.82, Host name: 46.7.127.82, Port number: 2297, Client name: "SoftEther VPN Client", Version: 4.20, Build: 9608) is attempting to connect to the Virtual Hub. The auth type provided is "Password authentication" and the user name is "KriszLaptop".
2018-04-06 11:37:13.766 [HUB "VPN"] Connection "CID-19-20FE800A74": Successfully authenticated as user "KriszLaptop".
2018-04-06 11:37:13.766 [HUB "VPN"] Connection "CID-19-20FE800A74": The new session "SID-KRISZLAPTOP-8" has been created. (IP address: 46.7.127.82, Port number: 2297, Physical underlying protocol: "Standard TCP/IP (IPv4)")
2018-04-06 11:37:13.766 [HUB "VPN"] Session "SID-KRISZLAPTOP-8": The parameter has been set. Max number of TCP connections: 2, Use of encryption: Yes, Use of compression: No, Use of Half duplex communication: No, Timeout: 20 seconds.
2018-04-06 11:37:13.774 [HUB "VPN"] Session "SID-KRISZLAPTOP-8": VPN Client details: (Client product name: "SoftEther VPN Client", Client version: 420, Client build number: 9608, Server product name: "SoftEther VPN Server (64 bit)", Server version: 425, Server build number: 9656, Client OS name: "Windows 10", Client OS version: "Build 16299, Multiprocessor Free (16299.rs3_release.170928-1534)", Client product ID: "--", Client host name: "KriszE7440", Client IP address: "192.168.0.17", Client port number: 2297, Server host name: "Kriszvpn2.softether.net", Server IP address: "46.7.19.181", Server port number: 446, Proxy host name: "", Proxy IP address: "0.0.0.0", Proxy port number: 0, Virtual Hub name: "vpn", Client unique ID: "87864C23C480FBBD5872BE7A370AE6EB")
2018-04-06 11:37:15.198 On the TCP Listener (Port 443), a Client (IP address 46.7.127.82, Host name "46.7.127.82", Port number 2300) has connected.
Could anyone help me with this?
Thank you