Using libiptc to add firewall/nat rules
Hello,
I try to use the directly the libiptc to add firewall - nat rules in a little program.
It works perfectly with nat rules but I have troubles to add a simple firewall rules : when I call iptc_commit , I get an "No chain/target/match by that name" error.
The name of the chain is FORWARD, target : IPTC_LABEL_ACCEPT and match : udp and the iptc_append_entry works well.
Does anyone have an idea about this problem and how to deal with ?
Sincerely
Frederic L.
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com