firewall: Make conntrack helpers configurable

This commit is contained in:
Michael Tremer
2015-05-12 13:16:40 +02:00
parent 4071b2d61b
commit d57c6162cb
2 changed files with 27 additions and 14 deletions

View File

@@ -135,6 +135,11 @@ $(TARGET) :
echo "POLICY=MODE2" >> $(CONFIG_ROOT)/firewall/settings
echo "POLICY1=MODE2" >> $(CONFIG_ROOT)/firewall/settings
# Add conntrack helper default settings
for proto in FTP PPTP SIP TFTP; do \
echo "CONNTRACK_$${proto}=on" >> $(CONFIG_ROOT)/optionsfw/settings; \
done
# set converters executable
chmod 755 /usr/sbin/convert-*