commands
iptables — Identify iptables backend
Print version and, on many versions, backend indication. This does not inspect or change rules. Use a fresh private workspace; do not apply to a real system.
Formal Syntax & Structure
linux syntaxlinux
iptables --versionParameters & Attributes
| Name | Type | Description |
|---|---|---|
| --version | option | Display version |
Return Value
exit status and output
The version option prints the userspace version and, where supported, backend identification. Success does not show that firewall rules can be listed or modified.
Working Example
Example Snippetlinux
iptables --version