[luci] Question on luci-fw

ZioPRoTo (Saverio Proto) zioproto at gmail.com
Tue Dec 15 01:48:52 CET 2009


Hello,

I see the following dir is empty:

http://luci.subsignal.org/trac/browser/luci/trunk/applications/luci-fw/root/etc/init.d

I guess because the /etc/init.d/firewall is shipped with OpenWRT correct ?

So after having a look here:

https://dev.openwrt.org/browser/trunk/package/firewall/files/uci_firewall.sh

I realized that if I want to add more complex iptables rules via web
interface, to store them in the /etc/config/firewall, I have to extend
luci-fw to have the web interface make me insert the new rules, but
also I have to modify uci_firewall.sh so that it is able to insert the
custom rules.

Think as an example of iptables rules having as a target NFQUEUE and
you have to specify --queue number

am I correct ? thanks :)

Saverio


More information about the luci mailing list