I’m perplexed by number 1 from these port-forwarding instructions:
Add a new port forwarding rule to your router for:
28967 for both TCP and UDP protocols
7777 for outgoing communication with the satellites
8888 for outgoing communication while creating and signing the identities.
Enter the internal IP address of your TrueNAS system in Destination Device.
Enter 20988 in Public and Private ports for both TCP and UDP for the Protocol.
As with the third option, I would expect port-forwarding instructions to include both public and private ports. But 1 just names three ports. COuld someone clarify what I am missing? Thanks!
For single node, you will use the same port number throughout, so you can just use port 28967 everywhere. This makes the settings easier. However, there are several places where you can adjust ports and forward ports to other ports. That will become relevant in multi-node setups.
The TrueNAS Guide is pretty mixed up with different ports. AFAIK the Default container you can download from “Apps” uses port 20988 as default so you need to change app port/external port or reroute like this
Enter the web port 28967 in Web Port for Storj, and 20988 in Node Port for Storj.
As rerouting between different ports can be confusing, you can also just use 20988 as external port and make it as easy as your example
outside world => 20988 => router => 20988 => node machine [ => 20988 => docker container]
I’ve read the Guide again and as you said it’s not getting better. I’m not sure what this is, because one of the last steps is still port 28967 but the screenshot shows another one (20909) and 28967 is not used.
You need 20988 port as inbound port rule.
The 7777 / 8888 only if your Router/Firewall blocks outbound traffic.
Seems the 20909 is the default Web Dashboard port on TrueNas in contrast to storj 14002 default. So step 8. as posted by me earlier is wrong. The screenshot is correct.
Port 28967 may be used for UDP only because the configured port 20988 uses TCP only.
Not a very consistent configuration.
Yea, I am getting the quic misconfigured error. I wonder if the TrueCharts version would work better? This seems a mess to untangle (not sure I am yet competent to do so, after quickly reading through the full discussion).
Maybe I should further ask: will it cause any problems with Storj if I attempt to deploy the TrueCharts app (after stopping the TrueNAS Charts app, of course). It also seems like it is a newer version of the app: 1.71.2_5.0.23 vs. 1.68.2_1.0.15)
Yea, it says port 28967 for both tcp & udp. So I tried forwarding that port (external & internal) and placed that port number in my Node Port in TrueNAS.
As the link from the community discussion linked to the charts sourcecode I tought is was the same, as I don’t know the difference betwenn these versions. In this case the defaults should have changed for the charts version and it could be worth a try. Either way both should work.
Note that the ports configured in the TrueNAS UI, are NOT changing the internal Storj Ports. It’s only what port to bind on the host.
I’ll go ahead and change the default “external” (NodePort) ports to match the internal ports, but this is purely for “consistency”
If the port forwarding on the router is not correctly pointed to the correct port (the current defaults 20988) it will still say “Miscofigured”.
While the UI has 1 field for Storj Port, it still applies to both TCP and UDP.
In this case you need to forward 28966 TCP and 28966 UDP, since the dashboard shows internal ports (if it was the service, not a docker container, it will be true).