slirp4netns

User-mode networking for unprivileged network namespaces

brewmacoslinux
Try with needOr install directly
Source

About

User-mode networking for unprivileged network namespaces

Commands

slirp4netns

Examples

Enable user-mode networking for a network namespace$ slirp4netns -c off -r auto PID tap0
Configure slirp4netns with custom CIDR and port mapping$ slirp4netns --cidr 10.0.2.0/24 -p 8080:80 PID tap0
Use slirp4netns with a rootless container runtime$ slirp4netns --configure --user-mode-networking PID eth0