In my home network’s modem settings I gave my node’s computer a reserved LAN IPv4 and forwarded port 4001 for TCP and UDP (the settings didn’t differentiate between the forwarded port number and the port being forwarded to). However, ipfs id
lists the external IPv4 with a random port that changes each daemon startup for both TCP and UDP. I’m assuming that is the effect of UPnP. Inconsistently it will also list the correct forwarded address except for TCP only.
Later I’ll link to a thread where someone suggested that the double port forwarding is problematic but didn’t explain how to fix it. Will disabling UPnP in the config file fix this without messing up something else?
What I’m trying to accomplish is give my node a permanent (as can be w/o dynamic DNS) multi address to use for bootstrapping. It occurred to me that 4001 port forward might work even if Kubo doesn’t know it’s working since it’s being forwarded to a correct address. I could also use an IPv6 address, but I don’t know how v6 assignment works or how often it will change.