In Hamachi > System > Preferences > Settings > Advanced Settings > Peer Connections
Local UDP Address > * : 45565
Local TCP Address > * : 45566
On router settings, portforward 45565 for UDP and 45566 for TCP to host.