Hamachi on OSMC

I assume you mean “behind NAT”. While openvpn is generally a good solution and my recommendation, it would require that you can configure Port Forwarding on your router with the public IP. If you can not do that and only have the private IP you may want to look at weaved as discussed in this thread