> For the complete documentation index, see [llms.txt](https://0xdecaf2bad.gitbook.io/red-team-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://0xdecaf2bad.gitbook.io/red-team-notes/08-commands/block-ip-iptables.md).

# block-ip-iptables

BLOCK-IP-IPTABLES ip route add prohibit 192.168.30.83/32 <---- works without ip tables

iptables -A INPUT -s IP-Address -j DROP

netsh advfirewall firewall add rule name="IP Block" dir=in interface=any action=block remoteip=192.168.30.75/32 <---windows command line
