IPTables Commands
https://gist.github.com/mcastelino/c38e71eb0809d1427a6650d843c42ac2 & https://ns2.elhacker.net/cheat-sheet/iptables-cheat-sheet.pdf & https://bashsenpai.com/resources/cheatsheets/iptables

Last updated
https://gist.github.com/mcastelino/c38e71eb0809d1427a6650d843c42ac2 & https://ns2.elhacker.net/cheat-sheet/iptables-cheat-sheet.pdf & https://bashsenpai.com/resources/cheatsheets/iptables

Last updated
whois -h v4.whois.cymru.com " -v $(host facebook.com | grep "has address" | cut -d " " -f4)" | tail -n1 | awk '{print $1}'for i in $(whois -h whois.radb.net -- '-i origin AS32934' | grep "^route:" | cut -d ":" -f2 | sed -e 's/^[ \t]*//' | sort -n -t . -k 1,1 -k 2,2 -k 3,3 -k 4,4 | cut -d ":" -f2 | sed 's/$/;/') ; do
iptables -A OUTPUT -s "$i" -j REJECT
doneiptables -A INPUT -i eth1 -s 10.0.0.0/8 -j LOG –log-prefix “IP_SPOOF A: ”
iptables -A INPUT -i eth1 -s 10.0.0.0/8 -j DROPtail -f /var/log/messages
grep --color 'IP SPOOF' /var/log/messageshttps://hackersonlineclub.com/iptables-commands-cheatsheet-for-windows-and-linux