fix rootless binding port 80+ command

This commit is contained in:
EphemeralDev 2025-01-27 14:26:13 -05:00 committed by rbm
parent 03ff5e3af5
commit d9dc7975dc

View file

@ -76,11 +76,9 @@ systemctl enable --now podman
> This is only necessary if you are setting up the reverse proxy (or any service
> on ports <1024).
`sudoedit /etc/sysctl.conf`
```bash
## Add the following line and save
net.ipv4.ip_unprivileged_port_start=80
printf '%s\n' 'net.ipv4.ip_unprivileged_port_start=80' | sudo tee /etc/sysctl.d/99-unprivileged-port-binding.conf
sysctl -w 'net.ipv4.ip_unprivileged_port_start=80'
```
### Option 2: Redirect using firewalls