Thread: iptables chain rule specifation

  1. #1
    Registered User
    Join Date
    Mar 2008
    Location
    India
    Posts
    147

    iptables chain rule specifation

    friends,

    In one of the script i observerd following line.

    Code:
    $iptables -A inwan_level_input_filter -p icmp -j logInboundPermitted
    do these "inwan_level_input_filter" and "logInboundPermitted" can be a group of chain rules or any label .

    If it is a group of chain rules , how can it be created.


    thanks

  2. #2
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    The group of rules is called a chain, and they can be created with the -N option.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Misra Rule 11.2
    By hammer1234 in forum C Programming
    Replies: 1
    Last Post: 04-06-2006, 07:28 AM
  2. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  3. chain of objects within pop framework help needed
    By Davey in forum C++ Programming
    Replies: 0
    Last Post: 04-15-2004, 10:01 AM
  4. Rule of 72
    By sonict in forum C++ Programming
    Replies: 12
    Last Post: 01-23-2003, 08:31 PM
  5. Who should rule the world?
    By CoderBob in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 02-07-2002, 07:01 AM