mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-16 22:13:01 +02:00
Add an config setting to remove netfilter sip modules.
This commit is contained in:
@@ -18,6 +18,7 @@ var/ipfire/langs/en.pl
|
||||
var/ipfire/langs/fr.pl
|
||||
etc/rc.d/init.d/firewall
|
||||
etc/rc.d/init.d/ipsec
|
||||
etc/rc.d/init.d/network
|
||||
etc/rc.d/init.d/ntp
|
||||
etc/rc.d/init.d/modules
|
||||
usr/local/bin/ipsecctrl
|
||||
|
||||
@@ -27,7 +27,12 @@ init_networking() {
|
||||
done
|
||||
(exit ${failed})
|
||||
evaluate_retval
|
||||
|
||||
|
||||
if [ -e /var/ipfire/main/disable_nf_sip ]; then
|
||||
rmmod nf_nat_sip
|
||||
rmmod nf_conntrack_sip
|
||||
fi
|
||||
|
||||
boot_mesg "Setting up firewall"
|
||||
/etc/rc.d/init.d/firewall start; evaluate_retval
|
||||
|
||||
|
||||
Reference in New Issue
Block a user