friedrich / hans

IP over ICMP
https://code.gerade.org/hans/
GNU General Public License v3.0
442 stars 75 forks source link

Windows Cliedt, Get right IP Address, But not ping. #11

Open ruizramosjose opened 9 years ago

ruizramosjose commented 9 years ago

Hello.

I would like to use hans client on Windows. I've already test in server with openSuse and client with openSuse too, and it works fine, ping works between client and server.

Now I'm running windows client. I've installed TAP Driver and it's selected by hans. In fact when I run hans -c SERVER_IP -p xxx the TAP Adapter gets a valid IP addres like 10.0.10.101. But when try to ping to 10.0.10.1(Server addres) it doesn't work.

When I see log on my server it says: hans connection established: Cliente_IP.

But I noticed tha the TAP Adapter always says unppluged cable.

I'm using Windows 7 32Bits, runing hans as administrator.

Any ideas to make it works?

Thanks.

frudas24 commented 9 years ago

you need to rund cmd with administrative right and hans with foreground option (-f) hans -f -v -c xxx.xxx.xxx.xxx -p pass

raidenii commented 8 years ago

I suppose you have NDIS6 version of TAP driver (9.2x) installed? It seems that hans shares the same problem of iodine for Windows, which has compatibility issues with NDIS6 drivers.

If so, uninstall the current TAP driver, go to OpenVPN to download the NDIS5 TAP driver (9.9.3 as of now), and you should be able to reach the server without any problems.

camnami724 commented 7 years ago

hi i have the same problem in windows 10. both client and server connections are established and NDIS5 TAP started but no packets send or received!! i mean when i want test MY IP site its my Original IP not my server IP ! can you help???

lio29 commented 7 years ago

Hi i also have this problem on windows 7 and 8.1 my client is able to connect to the server and receive a valid ip address (10.0.0.100/24) but ping to the server (10.0.0.1) is not working. Any help on this issue please

frudas24 commented 7 years ago

check your hans version on server. it need to match the windows client version

ghost commented 6 years ago

@frudas24 @friedrich Are there any plans to make it work correctly in background mode on Windows?