[CentOS] custom iptables chain jumping

Fajar Priyanto

fajarpri at cbn.net.id
Wed May 14 01:22:42 UTC 2008


Hi all,
When we create a custom chain in iptables, should we specifically create a 
rule to 'jump back' to the previous chain?

For example:
iptables -A INPUT -j CUSTOMCHAIN
iptables -A CUSTOMCHAIN rule1
iptables -A CUSTOMCHAIN rule2

Should we add:
iptables -A CUSTOMCHAIN -j INPUT ? Or, it will automatically go back to CHAIN 
when there's no more rule?

Thank you very much,
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
08:22:38 up 1:15, 2.6.22-14-generic GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org
The real challenge of teaching is getting your students motivated to learn.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.centos.org/pipermail/centos/attachments/20080514/8a7381c8/attachment.sig>


More information about the CentOS mailing list