What's /usr/libexec/podman/rootlessport and how do I use it? #24022
-
I use podman 4.9.4 on RHEL 8.10. Looking through the filesystem I stumbled upon What is it for? Can this be used to access lower range ports without root? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
It provides integration with the built-in port forwarder provided by rootlesskit.
Not really, that's a kernel-imposed restriction if the process binding the forwarded ports lacks the
in the same way as you can provide it to slirp4netns(1) or pasta(1). But I would rather recommend that you set the minimum port number you need as non-root via sysctl (as root), for example:
|
Beta Was this translation helpful? Give feedback.
It provides integration with the built-in port forwarder provided by rootlesskit.
Not really, that's a kernel-imposed restriction if the process binding the forwarded ports lacks the
CAP_NET_BIND_SERVICE
capability. You can grant it torootlessport
:in the same way as you can provide it to slirp4netns(1) or pasta(1). But I would rather recommend that you set the minimum port number you need as non-root via sysctl (as root), for example: