Skip to content

Instantly share code, notes, and snippets.

@sebsto
Created February 12, 2015 16:38
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • 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