p2p hole punching in LAN

Ask Questions: If the two nodes are under the same router, can you directly connect to the LAN with the help of the external node at this time ?

Example:

2 Likes

Hello!

Generally not. This is called hairpinning and this feature is disabled on a large number of routers by default, so we should not rely on it.

For peers discovery on LAN you can use broadcasting instead, for example.

1 Like

Thx, learned two new concepts! :grinning: