50 Useful and Simple IPtables Rules for Linux Administrator

Jun 16, 2020 How to Log Linux IPTables Firewall Dropped Packets to a Aug 15, 2012 Iptables Essentials: Common Firewall Rules and Commands Aug 10, 2015

iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -P FORWARD DROP # allow establishment of connections initialised by my outgoing packets iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT # accept anything on localhost iptables -A INPUT -i lo -j ACCEPT ##### #individual ports tcp ##### iptables -A INPUT -p tcp --dport

linux - Iptables rule for loopback - Unix & Linux Stack

How to Use Netfilter on Your Linux System: Enabling a

interface - What does lo in iptables mean exactly? - Unix