Last active
August 5, 2022 21:40
-
-
Save jhowbhz/00585725fbfa06a322edf39083378184 to your computer and use it in GitHub Desktop.
Block IP and Unblock IPtables
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
iptables -A INPUT -s 200.219.26.252 -j ACCEPT # libera | |
iptables -D INPUT -s 200.219.26.252 -j DROP # remove | |
iptables -A INPUT -s 5.154.174.142 -j DROP # block | |
iptables -L -n --line # list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment