I have 4 Chains in my iptables table - INPUT, OUTPUT, FORWARD and MYCUSTOM-CHAIN

Now, i have a rule in my INPUT chain that filters all tcp traffic with destination port as 23. I need to re-route all this traffic to MYCUSTOM-CHAIn.

Please let me know if that's possible?

link|improve this question
feedback

1 Answer

up vote 6 down vote accepted
-A INPUT -p tcp --destination-port 23 -j MYCUSTOM-CHAIN
link|improve this answer
SWEET!! WORKED LIKE A CHARM, I had it almost figured out.. :) Thanks! – Jasdeep Singh May 20 '11 at 19:18
@Jasdeep Singh: Please accept the answer then, to mark it solved. – Seth Robertson May 20 '11 at 19:40
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.