4 ms·
AFAIK Tox allows for direct p2p connections between devices (no server in between). How does it get through NATs/firewalls/other to achieve this? Does it "chea
by bboygravity 3y ago
AFAIK Tox allows for direct p2p connections between devices (no server in between). How does it get through NATs/firewalls/other to achieve this?
Does it "cheat" like Bittorrent and Syncthing by using relays/trackers or another type of server to establish connections? And if so how does it solve this problem?
- grayhatter 3y agoIn cases with poorly behaved NATs it'll start with a TCP connection to a node willing to relay a packet to a friend. Then it'll attempt to hole punch to reach your friend/peer. I'm not sure I'd call it cheating but I assume that's the same thing you're talking about. Both clients need to attempt to connect to each other to get udp nat hole punching to work. So I guess yes? If it can't, it will fall back to TCP and relays, so it will totally cheat using relays if it has to :)