NDC & PKI

[Day 8] 4. IPTABLES and Chains

D
DITISS Admin
••2 min read

1. Checking Chains of Different Tables

In

iptables
, tables contain chains for organizing and applying rules. Use the following commands to list the chains in specific tables:

| Command | Table Checked | | ------------------------------ | ----------------- | |

sudo iptables -L
| Filter Table | |
sudo iptables -t nat -L
| NAT Table | |
sudo iptables -t raw -L
| Raw Table | |
sudo iptables -t mangle -L
| Mangle Table | |
sudo iptables -t security -L
| Security Table | | | |

Explanation:

  • -t
    option specifies the table.
  • -L
    option lists all the chains and rules within the specified table.

2. Default Table: Filter Table

If no table is explicitly mentioned, the default table used by

iptables
is the Filter Table.

To check chains in the default (filter) table:

bash
sudo iptables -L

Quick Summary

  • Use
    -t <table_name>
    to specify a table explicitly.
  • Use
    -L
    to list chains and rules within the table.
  • If no table is mentioned, the filter table is used by default.

Read Next

8/26/2026

[Day 8] 5. Full Tunnel and Split Tunnel VPN

### **1. Full Tunnel VPN** In a **Full Tunnel VPN**, **all your internet traffic** is routed through the VPN server, regardless of which website, a...

8/26/2026

[Day 8] 6. Modern Security Architectures and Authentication Protocols

### **Next Generation Firewall (NGFW)** NGFWs are the latest evolution in firewall technology. Unlike traditional firewalls, NGFWs offer enhanced s...