HandyOSS / HandyHost

Host DVPN/HNS, Sia and Akash all in one UI.
https://handyhost.computer
GNU Lesser General Public License v2.1
102 stars 16 forks source link

Question : default ports in reservedPortsDefault.json #10

Closed avolon42x closed 2 years ago

avolon42x commented 2 years ago

Is it possible to overwrite the default ports here? i.e. can I change port 80 to something else?

alexsmith540 commented 2 years ago

For sia and dvpn you can change the ports within the app. In the case of akash you want :80 and the other akash range (30000-32767) open because those are the ports you’ll be hosting akash servers on. On akash a majority of hosted sites are on :80. Although it’s burned in habit not to open :80 to the world, in this case we need to be hosting websites on :80 for the world. Hope that helps.

alexsmith540 commented 2 years ago

Also just to clarify about opening up :80, you’ll only open port forwarding of :80 to a single akash node that runs your akash cluster load balancer, not the entire cluster or network.

avolon42x commented 2 years ago

Got it. The question came up since I was already serving http on that node. But I found a workaround for this case. Good question about the akash-hosting range (30000-): can I also only open a part of this range? Again, overlapping other services.

alexsmith540 commented 2 years ago

I’ll check to see if there’s a way to limit within or alternate to 30000:32767 in the ingress controller, it would be a nice feature.