Skip to content

Instantly share code, notes, and snippets.

@marc-hanheide
Created October 24, 2014 10:29
Show Gist options
  • Save marc-hanheide/1e3ab2c1e0abbc0e7c1c to your computer and use it in GitHub Desktop.
Save marc-hanheide/1e3ab2c1e0abbc0e7c1c to your computer and use it in GitHub Desktop.
disable reverse-path filtering for all interfaces
sudo sysctl -a | grep \\.rp_filter | cut -f1 -d" " | xargs -i{} -- sudo sysctl -w {}=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment