CAN you give me a piece of sample code to implement this iptables command? thanks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HI, all:

the command is "iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE"

how to write the code using libiptc to implement this? It is hard to get enough useful information about programing with libiptc APIs, so can you give me the sample code ? thanks a lot!

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux