Skip to contentSkip to conversation

please help me with iptc_insert_entry..

DISCUSSION Vijay Angelo 1 participant 1 message Sep 18, 2003 netfilter

lore
Share & tools
lore
#0 lore raw

hi

actually i m developing an application using libiptc library..

i am not able to insert a rule using the iptc_insert_entry..function My REQUIREMENT :

the rule is like this:
iptables -t nat -A PREROUTING -p tcp -s 192.168.1.5 -j ACCEPT

I want to do this..with iptc_insert_entry..
please write the code and send..i am struggling for past two days..

i m very eagerly waiting to see the reply..

thanking you
vijay