Skip to content

Instantly share code, notes, and snippets.

@sebsto
Created February 12, 2015 16:38
Show Gist options
  • Save sebsto/20e550876db521710186 to your computer and use it in GitHub Desktop.
Save sebsto/20e550876db521710186 to your computer and use it in GitHub Desktop.
Block users access to AWS EC2 meta data
sudo iptables -A OUTPUT -m owner ! --uid-owner root -d 169.254.169.254 -j DROP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment