custom iptables chain jumping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux