mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-11 09:48:24 +02:00
firewall: Make conntrack helpers configurable
This commit is contained in:
@@ -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-*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user