How to List and Delete Iptables Rules

Use iptables with CentOS 7 $ yum install iptables-services Enable the service to start at boot time by running the following commands: $ systemctl enable iptables $ systemctl enable ip6tables Next, add iptables rules. You can do this in either of the following ways: From the command-line interface (CLI), by running commands similar to iptables -I INPUT The Beginners Guide to IPTables (Includes Essential Commands!) Jan 08, 2019 Iptables - LQWiki Jul 30, 2011 iptables: The Default Linux Firewall - Open Source For You

Apr 28, 2011

How To Use IPTABLES Firewall? - Operavps Jul 11, 2020 NAT with Linux and iptables - Tutorial (Introduction)

IPtables Commands Cheatsheet - For Windows And Linux

The iptables rules can be used for blocking all outgoing TCP connections on a specific port, say 111 in this case. $ sudo iptables -A OUTPUT -p tcp --dport 111 -j DROP. You can replace the chain name to INPUT for blocking TCP connections on the same port, but for incoming requests. $ sudo iptables -A INPUT -p tcp --dport xxx -j DROP 24.