# iptables

iptables debug log

```
$(iptables -A $CHAIN_NAME ... put your filter here (interface or mark )..... ... -j LOG --log-prefix "Easy for debugging: " --log-level $check_log_level_by_help)
```

* List all rules like iptables-save

```
iptables -t nat -S
```

* List all rules with chain status

```
iptables -t nat -L
```
