relayed connection in networks

hello there. well i have problem with some contacts. they are in my network and to some i have direct and to others relay connection. ping is aprox 150 ms and more. what to do? thanks.

i use to have similar problem with hamachi but after powering off, on, it was o.k. i like hamachi because of stable ping, but it has lot of server problems and i started using evpn. but i hate this relay problem. all firewalls and antiviruses are off

Hi Hepek,
Could you explan your configuration of network?

What is the explan network?