> For the complete documentation index, see [llms.txt](https://documentation.hak5.org/bash-bunny/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.hak5.org/bash-bunny/internet-connectivity/sharing-an-internet-connection-from-linux.md).

# Sharing an Internet connection from Linux

1. Download the Internet Connection Sharing script from bashbunny.com/bb.sh
2. Run the bb.sh connection script with bash as root
3. Follow the \[M]anual or \[G]uided setup to configure iptables and routing
4. Save settings for future sessions and \[C]onnect

```
wget bashbunny.com/bb.sh
sudo bash ./bb.sh
```

<br>
