General purpose TCP-IP emulator
Copy the tea one-liner above into your terminal to install slirp. tea will interpret the documentation and take care of any dependencies.