The hole punching results are inconsistent when the server is run on different networks.
I have two networks,
one called Company and the other Personal.
If the server runs on the Company network and the client requests a connection from the Personal network, the hole punching succeeds immediately.
However, if the server runs on the Personal network and the client is on the Company network, the hole punching consistently fails. The attachments contain the client logs for both scenarios.
I tested on macOS, Linux, and Windows, and the results were consistent. It seems to be related only to the network.
Anything with multiple network interfaces may be related to #2632
Today, I conducted some tests since I needed to upgrade to version 0.31.0. Tailscale was able to successfully establish a connection, and I found the Tailscale port in the UPnP section of the Personal Network. However, when I ran Iroh as a server on the Personal Network, I noticed that there were no UPnP port mappings for Iroh. I was unable to achieve UPnP mapping regardless of whether I ran the server on Windows, macOS, or Linux within the Personal Network.
That's useful info, any chance you know details about the UPnP software that iroh is failing to talk to? Would great if it was possible to reproduce elsewhere.
That's useful info, any chance you know details about the UPnP software that iroh is failing to talk to? Would great if it was possible to reproduce elsewhere.
I'm not sure if it's related, because the Company Network has UPnP directly disabled. However, when I run the server on the Company Network, the computer on the Personal Network can successfully hole punching. I may not have time for further testing until my vacation is over.