-
Notifications
You must be signed in to change notification settings - Fork 586
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
Support port forwarding for privileged ports (1-1023) #45
Comments
Another way is to replace Most parts of the port forwarder could be executed without the SETUID bit. It will receive sockfd from a SETUID helper via SCM_RIGHTS cmsg. |
Or maybe we don't need any SETUID stuff. Just bind 0.0.0.0:80, and reject connections from non-loopback addresses. |
Maybe make the rejection configurable? I think it can be useful to expose an app running in lima to the local network, so you can test it e.g. as a service from another machine. |
Yes, we will eventually need config file and (REST?) API to control flexible forwarding |
Until
To revert the mappings back to their original state, just empty the file. sudo pfctl -f /etc/pf.conf Same for 443 |
PR: #283 |
https://twitter.com/_AkihiroSuda_/status/1403403845842075648
I'm planning to support privileged ports using authbind (https://github.com/Castaglia/MacOSX-authbind) if it works.
The text was updated successfully, but these errors were encountered: