Programmable completion code (bash) for ip[6]tables (netfilter.org)

Add a Review
1 Download (This Week)
Last Update:
Download iptables-bash_completion-1.3.tar.gz
Browse All Files


This is the programmable completion specification (compspec) for the iptables program (netfilter.org).

iptables-bash_completion Web Site


  • Interactive completion for ip[6]tables.
  • This completion specification follows the logic of iptables and will only show commands and options, when they are available for the current context. Providing some kind of interactive help.
  • Show and complete matches, targets and builtin and/or user-defined chains.
  • Dynamically retrieve, show and complete: set names, services (port-ranges), protocols, active interfaces, cpu numbers, routing realms, user and group names, NFLOG logging groups, tc classes, nfacct names, nfct timeout policy names, genre names of the osf match.
  • Show and complete hostnames, ip/network/mac addresses.
  • Show and complete various arguments for matches and targets (those which are in any way predictable).
  • Some values entered by the user are optionally checked for validity and completion will not continue after an invalid input.
  • Environment variables allow to modify completion behaviour.


Write a Review

User Reviews

Be the first to post a review of iptables-bash_completion!

Additional Project Details

Intended Audience

Advanced End Users, Security Professionals, Security, System Administrators

User Interface


Programming Language

Unix Shell


Screenshots can attract more users to your project.
Features can attract more users to your project.