Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

service-registrar: Enable multiple on-router-services on standard ports #335

Open
Akira25 opened this issue Oct 20, 2022 · 4 comments
Open

Comments

@Akira25
Copy link
Member

Akira25 commented Oct 20, 2022

In standard configuration, port 80 is already used by uhttpd serving the luci-ui. So we cannot have a freifunk-service on that port.

For enabling that, we can move LuCI to be served on port 80 and port 8443. This can be done fairly easily by tweaking the main-section of /etc/config/uhttpd to these values.

Service-registrar should provide an button for that.

@pmelange
Copy link
Collaborator

I would prefer to keep the luci interface on the default ports. Then when someone loads myrouter.olsr, they would get what they expect and not have to guess which port the actual luci interface is (for example, to find contact info). In my opinion, services can be put on the non-standard ports

Also, take a look at https://forum.openwrt.org/t/poor-mans-virtual-hosts/95780 for an alternative solution to virtual hosts

@Noki
Copy link
Member

Noki commented Feb 8, 2023

I would also keep LuCI on the default ports. If you want to have other services on port 80 you could just use another IP address and set listen_http as an IP address and port combination. - https://openwrt.org/docs/guide-user/services/webserver/uhttpd

@Noki
Copy link
Member

Noki commented Feb 22, 2023

@Akira25 can this be closed / adjusted to my proposed solution?

@Akira25
Copy link
Member Author

Akira25 commented Feb 22, 2023

At the moment, I prefer the listen_http-option over the shellscript-cgi. But I would like to consider it for some time more. I would like to keep this issue open as a reminder for me. To implement this. We could rename it, though.

@Akira25 Akira25 changed the title service-registrar: Move LuCI to :8080 to enable service on :80 service-registrar: Enable multiple on-router-services on standard ports Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants