mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-23 17:32:57 +02:00
Reload all firewall rules when /etc/init.d/firewall reload is executed.
This commit is contained in:
@@ -281,6 +281,9 @@ iptables_red() {
|
||||
iptables -t nat -A REDNAT -o $IFACE -j MASQUERADE
|
||||
|
||||
fi
|
||||
|
||||
# Reload all rules.
|
||||
firewallctrl
|
||||
}
|
||||
|
||||
# See how we were called.
|
||||
|
||||
Reference in New Issue
Block a user