Page created: 15 Jul 2022 |
Page updated: 20 Dec 2022
You have two options to run as a non-root user but still allow connections on a privileged port.
- Use a load balancer or directory proxy server
- Many environments can run the server on a non-privileged port but be hidden by a hardware load balancer or LDAP directory proxy server.
- Use netfilter
- Use the netfilter mechanism, exposed through the iptables command, to automatically redirect any requests from a privileged port to the unprivileged port on which the server is listening.