API's for iptable commands

kadur.kiran at sawridgesystems.com kadur.kiran at sawridgesystems.com
Sun May 15 22:54:01 PDT 2016


Hi All,

iptables -t mangle -I FORWARD 1 -o em1 -d 10.180.190.221 -p tcp --sport
22 -j MARK --set-mark 102

I want to reproduce above iptables command programatically using API's.
But unable to find suitable documentation.
please suggest is there any approach to achieve the same.



Thanks,



More information about the libnl mailing list