Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-04-2008, 12:09 AM   #1
Registered: Dec 2008
Posts: 36

Rep: Reputation: 1
iptables chain rule specifation


In one of the script i observerd following line.

$iptables -A inwan_level_input_filter -p icmp -j logInboundPermitteddo
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.

Old 12-04-2008, 08:33 PM   #2
Registered: Aug 2008
Posts: 107

Rep: Reputation: 16
# iptables -N inwan_level_input_filter
# iptables -N logInboundPermitteddo

> man iptables

This creates a new user chain called "inwan_level_input_filter" and "logInboundPermitteddo". To delete it, you use -X.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables good packet chain (instead of bad packet chain) win32sux Linux - Security 6 11-06-2008 06:02 AM
Which is the chain name in iptables dkn4a1 Linux - Software 4 09-22-2008 05:23 AM
userdefined chain in iptables yawe_frek Red Hat 2 11-28-2006 06:20 AM
iptables chain modification gizza23 Linux - Networking 2 07-10-2005 05:45 AM
iptables and LD chain spawing? lode Linux - Networking 8 04-21-2004 03:30 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration