I’m brazilian student and i’m researching about the ipfs protocol.
My problem is classic, NAT and firewalls in the network private.
Anyway, i have a linux server with public address and I would like to configure it as a RELAY node to connect two computers behind NAT. It’s possible ?
In my studies, I didn’t find anything that shows me how to do this, are relay servers not available to the community?
Add your public node as bootstrapper for the others. ipfs id on the NATed hosts should show a p2p-circuit address through the public node. If it does not automagically (honestly, don’t know), then it could be added manually to Announce addresses in the NATed nodes configuration.
I have not tried this myself, just recounting from memory.
Thanks for the good response. But in my test, in the two node behind NAT not have communication. In my public node, the EnableRelayHop is active and my two NAT nodes the EnableAutoRelay is active. But don’t have communication.
In my two computers with NAT, my public address has announced in bootstrap and “Address.Announce”. I don’t know what my mistake was.
Another question, the Address.Announced have to be in NAT nodes or in the public node ?