Connection issues when connecting to a friend

wassup. My friend set up a server through hamachi. Everyone in the hamachi network is displayed as “direct tunnel”, except the host, who is “relayed tunnel”. I’ve tried every fix out there, literally gone through everything that google showed me, nothing seemed to fix this. I can even ping him and everything is fine.

When it comes to connecting to the server, I can connect, stay there for 15 - 40 seconds, and then get disconnected. I can connect to any public server just fine. Did this happen to anyone else?

Any & all help is appreciated, feel free to ask