kaklakariada / portmapper

A tool for managing port forwardings via UPnP
GNU General Public License v3.0
685 stars 90 forks source link

Uses wrong local IP address when multiple IP addresses are available #100

Closed JJTech0130 closed 6 months ago

JJTech0130 commented 2 years ago

I have WSA, so I have an IP address for that (virtual) network, as well as a regular one. Checking the "localhost" checkbox chooses one at random, even if it doens't match the UPNP router's subnet.

JJTech0130 commented 2 years ago

It appears to pick the first one it finds, not randomly. Disabling and re-enabling the WSA network to make it not the first on temporarily fixes the problem. (But it gets messed up again if any of the networks reconnects)

kaklakariada commented 2 years ago

I am not sure how to solve this. If the IP address changes, I recommend to explicitly configure the correct IP instead of using the "localhost" checkbox.

kaklakariada commented 6 months ago

Closing as stale.