Skip to content

Instantly share code, notes, and snippets.

@squeedee
Last active August 29, 2015 13:59
Show Gist options
  • Save squeedee/10892248 to your computer and use it in GitHub Desktop.
Save squeedee/10892248 to your computer and use it in GitHub Desktop.
Emulate the enterprise inside BOSH-Lite
sudo iptables -A OUTPUT -o eth0 -m state --state ESTABLISHED -j ACCEPT
sudo iptables -A OUTPUT -o eth0 -j DROP
sudo iptables -D OUTPUT -o eth0 -j DROP
sudo iptables -D OUTPUT -o eth0 -m state --state ESTABLISHED -j ACCEPT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment