Quantcast
Viewing all articles
Browse latest Browse all 3259

Debian - Hamachi taking over default IP routing

I've been using Hamachi on a BeagleBone Black as it's a great way to make a small portable device externally accessible. Specifically I'm using the latest ARM Beta version, logmein-hamachi_2.1.0.203-1_armhf.deb.

 

With hamachi running, its IP routing entries (via route command) are simply:

25.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 ham0
link-local      0.0.0.0         255.255.0.0     U     0      0        0 ham0

On a few occasions though I have had it add an additional route show up:

default         0.0.0.0         0.0.0.0         U     0      0        0 ham0

This supersedes the default internet route out the devices Ethernet connection, making it go to the Hamachi connection instead which isn't providing internet access (only a mesh network between devices). By trying to put internet communication through the Hamachi network all internet access fails, including to Hamachi servers, and so the device drops from the Hamachi network and has to be fixed by manually adding the default Ethernet route back in (route add default gw [gateway_port] eth0).


This looks like an odd bug in the current beta version. I'm not familiar enough with Linux routing to understand if there's a way I can stop this from happening, so for now I've just made a workaround script to remake my internet route if Hamachi tries to take over.


Viewing all articles
Browse latest Browse all 3259

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>