Auto-translated
If by Kaspersky you mean KAV, then it doesn't interfere with Hamachi; I've been playing with it for several years, and I haven't made any additional settings.
If it's KIS, then it seems to include a firewall, which probably needs to be configured.