slirp4netns
User-mode networking for unprivileged network namespaces
Install
- All systems
-
curl cmd.cat/slirp4netns.sh
- Debian
-
apt-get install slirp4netns
- Ubuntu
-
apt-get install slirp4netns
- Arch Linux
-
pacman -S slirp4netns
- Kali Linux
-
apt-get install slirp4netns
- Fedora
-
dnf install slirp4netns
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install slirp4netns
- Dockerfile
- dockerfile.run/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").