Created
July 2, 2014 11:48
-
-
Save mayurah/902a9c8c06e5d1e4828f to your computer and use it in GitHub Desktop.
handy null route
This file contains 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
#!/bin/bash | |
# echo $* | |
route add -host $* reject | |
ip route add blackhole $* |
Author
mayurah
commented
Jul 1, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment