![firewall builder ddwrt default iptables firewall builder ddwrt default iptables](https://pedrett.org/wp-content/uploads/2014/08/DNSMasq_DD-WRT.png)
The system displays the status of your chains. To view the current set of rules on your server, enter the following in the terminal window: sudo iptables -L If you need to specify a different table, use the –t option, followed by the name of the table. Configure iptables in Linuxīy default, these commands affect the filters table. Iptables is case-sensitive, so make sure you’re using the correct options.
![firewall builder ddwrt default iptables firewall builder ddwrt default iptables](https://d32d3g1fvkpl8y.cloudfront.net/blog/wp-content/uploads/2015/09/1-5-300x157.jpg)
![firewall builder ddwrt default iptables firewall builder ddwrt default iptables](http://freesoftwaremagazine.com/articles/firewall_builder/fwbuilder-wiz-os-fw-select.jpg)
Linux firewall iptables has four default tables. Typically, this is to accept it, drop it, or reject it (which sends an error back to the sender). Targets: A target is a decision of what to do with a packet.The outcome, where a packet is sent, is called a target. Rules can block one type of packet, or forward another type of packet. Rules: A rule is a statement that tells the system what to do with a packet.When a packet is received, iptables finds the appropriate table, then runs it through the chain of rules until it finds a match.
![firewall builder ddwrt default iptables firewall builder ddwrt default iptables](https://support.cyberghostvpn.com/hc/article_attachments/360027898733/mceclip0.png)