I am currently trying to get auto-relay feature to work to transfer files between to NAT’ed nodes.
I add a file with
ipfs add on a node behind NAT, get the hash and try to
ipfs cat Qm...it on another node, but it never resolves.
ipfs dht findprovs Qm... also does not resolve. I do see both nodes connected to other nodes, but I don’t see any relay nodes in
ipfs swarm peers (the relays occasionally come and go, never matching on both of the nodes, which I think is a prerequisite for auto-relay to work).
Attempting to fetch from a public gateway (e.g.
https://cloudflare-ipfs.com/ipfs/Qm...) also does not resolve, but I think that’s because I am not connected to a relay node.
I have some configuration changes that may impact the way it works (this is configured to minimize the impact on the local network and to avoid firewall blocks/notices):
Swarm.ConnMgr.HighWater = 160; Swarm.ConnMgr.LowWater = 80; Swarm.EnableAutoRelay = true; Discovery.MDNS.Enabled = false; Addresses.Swarm = ['/ip4/127.0.0.1/tcp/4001'];