blocking ip and undoing it
This commit is contained in:
parent
ebc8533f05
commit
4ca85015ae
@ -2,3 +2,9 @@
|
|||||||
|
|
||||||
* `curl ifconfig.co`
|
* `curl ifconfig.co`
|
||||||
* `curl ident.me`
|
* `curl ident.me`
|
||||||
|
|
||||||
|
### Block an IP with `iptables`
|
||||||
|
* `iptables -A INPUT -s 35.196.128.87 -j DROP`
|
||||||
|
|
||||||
|
### Undo the previous rule
|
||||||
|
* `iptables -D INPUT -s 35.196.128.87 -j DROP`
|
||||||
|
Loading…
Reference in New Issue
Block a user