LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 1
iptables chain rule specifation


friends,

In one of the script i observerd following line.


Code:
$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.


thanks
 
Old 12-04-2008, 09:33 PM   #2
bapigoo9
Member
 
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.
 
  


Reply


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 07:02 AM
Which is the chain name in iptables dkn4a1 Linux - Software 4 09-22-2008 06:23 AM
userdefined chain in iptables yawe_frek Red Hat 2 11-28-2006 07:20 AM
iptables chain modification gizza23 Linux - Networking 2 07-10-2005 06:45 AM
iptables and LD chain spawing? lode Linux - Networking 8 04-21-2004 04:30 AM


All times are GMT -5. The time now is 05:14 AM.

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