Old post but should still apply. Figured I'd put this out on the internet since I just spent a few hours toying to make things work.
Routing all your internet traffic though hamachi is easy.
1. Connect up to your local internet, get Hamachi all connected and green.
2. Once your connected and your computer is assigned an IP for the remote network (NOT Hamachi virtual IP) open a new cmd prompt as an administrator. [Right click on cmd.exe and select "Run as administrator"]
3. Enter the following command: route -p add 0.0.0.0 mask 0.0.0.0 <Remote Network Gateway IP> metric 1
My command was "route -p add 0.0.0.0 mask 0.0.0.0 192.168.0.1 metric 1"
This tells windows that the Hamachi established network is better than the local network you initially connected to. (and gives the connection a default gateway... bla bla bla)
That's it, one command. Verify using whatismyip.com before and after, the IP shown should change.
[Some more info, I'm using Hamachi in a Gateway configuration.]
[You'll have to re-run this command each time you connect, I put mine in a .bat file. A static route might work to resolve having to re-run it each time but I haven't tested it that far.]
Thanks for posting those steps...it's exactly what I'm tying to accomplish. However, I still have one issue:
When I designate my home PC as the gateway unit, my system (Vista 64) creates a bridge, containing both my physical NIC, and the virtual Hamachi NIC. The status of the bridge tells me that a cable is not connected, even though everything is indeed wired correctly.
The system, once bridged, is not getting an IP address from my router, even though everything is configured for DHCP, and there are more than enough addresses available for assignment. So once the bridge is created, my PC is offline. If I remove the bridge, I can reestablish connection, but Hamachi won't work as a gateway.
Hi, i have a few questions about ths. How do u setup a remote network? The computer im connecting to through hamachi is Gateway config and so is m client. There is a setting to setup a remote network but i have no idea what networ address to use. Secondly where is the "Remote Network Gateway IP" located? With these answers i can finish thet setup. Thx