update iptables rule from a target module...
Hi all,
Is there anybody that could help me with what's following ...
I need to create a new binding rule from a target function of my target module loaded by iptables. this rule is : iptables -t nat -A PREROUTING -d 192.168.0.250 -j DNAT --to 10.10.29.50
I've tried to make it with a "do_exec", but that dont work and it could be better to update the table directly. Is there a way to do that? some examples ...
Thanks in advance
Didier