Last active
April 5, 2016 18:35
-
-
Save gjesse/dcc0661bb40c12d3b114544229df0488 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# drop traffic to zk from a specific user: | |
sudo iptables -A OUTPUT -p tcp --destination-port 2181 -m owner --uid-owner sargon-zero -j DROP | |
# restore | |
sudo iptables -D OUTPUT -p tcp --destination-port 2181 -m owner --uid-owner sargon-zero -j DROP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment