can't connect - DCHP issue
Posted: Tue Dec 04, 2018 10:08 am
Dear all,
I setup my VPN a few months ago, but it never worked well.
Just a few words about that: I had a pc running Freenas with a VPN installed in a jail for 2 years, and it worked quite perfectly (accessing from outsited by a OpneVPN client); then I had to switch to Windows (I'm running a few apps 24h, and they are Win...) and I discovered SoftEthernet; my main goal is to access my local network from outside (both mobile and desktop); I installed SoftEthernet following guides and wizard and in a few minutes I had my VPN created. The first tests worked perfectly (I used my mobile connected to 4G), but when I really needed that I always had a lot of problems. Sometimes I couldn't access and other times I had to try more than 20 times (with OpneVPN client on my iPhone) and finally I could.
Looking at the SoftEthernet log, I see the problem seems to be related to DHCP:
2018-12-02 16:26:07.856 OpenVPN Session 67 (176.83.25.89:18430 -> 192.168.1.2:1194) Channel 0: Acquiring an IP address from the DHCP server failed. To accept a PPP session, you need to have a DHCP server. Make sure that a DHCP server is working normally in the Ethernet segment which the Virtual Hub belongs to. If you do not have a DHCP server, you can use the Virtual DHCP function of the SecureNAT on the Virtual Hub instead.
My pc has two Network adapter, both of them connected to my router, both of them accessing Internet and both of them set with a static IP (192.168.1.2 and 192.168.1.3). My router does support DHCP, as in my house most of devices use DHCP.
How can I fix it?
Thank you very much!
Miki
I setup my VPN a few months ago, but it never worked well.
Just a few words about that: I had a pc running Freenas with a VPN installed in a jail for 2 years, and it worked quite perfectly (accessing from outsited by a OpneVPN client); then I had to switch to Windows (I'm running a few apps 24h, and they are Win...) and I discovered SoftEthernet; my main goal is to access my local network from outside (both mobile and desktop); I installed SoftEthernet following guides and wizard and in a few minutes I had my VPN created. The first tests worked perfectly (I used my mobile connected to 4G), but when I really needed that I always had a lot of problems. Sometimes I couldn't access and other times I had to try more than 20 times (with OpneVPN client on my iPhone) and finally I could.
Looking at the SoftEthernet log, I see the problem seems to be related to DHCP:
2018-12-02 16:26:07.856 OpenVPN Session 67 (176.83.25.89:18430 -> 192.168.1.2:1194) Channel 0: Acquiring an IP address from the DHCP server failed. To accept a PPP session, you need to have a DHCP server. Make sure that a DHCP server is working normally in the Ethernet segment which the Virtual Hub belongs to. If you do not have a DHCP server, you can use the Virtual DHCP function of the SecureNAT on the Virtual Hub instead.
My pc has two Network adapter, both of them connected to my router, both of them accessing Internet and both of them set with a static IP (192.168.1.2 and 192.168.1.3). My router does support DHCP, as in my house most of devices use DHCP.
How can I fix it?
Thank you very much!
Miki