slirp4netns

User-mode networking for unprivileged network namespaces

Install

All systems
curl cmd.cat/slirp4netns.sh
Debian Debian
apt-get install slirp4netns
Ubuntu
apt-get install slirp4netns
Arch Arch Linux
pacman -S slirp4netns
image/svg+xml Kali Linux
apt-get install slirp4netns
Fedora
dnf install slirp4netns
Windows (WSL2)
sudo apt-get update sudo apt-get install slirp4netns

slirp4netns

User-mode networking for unprivileged network namespaces

slirp4netns provides user-mode networking for unprivileged network namespaces. slirp4netns allows connecting a network namespace to the Internet in a completely unprivileged way, by connecting a TAP device in a network namespace to the usermode TCP/IP stack ("slirp").