I didn't know about Hamachi? I suppose as long as UDP broadcasting and TCP connections don't break it should work?
Let me know if you try it out?