mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Forward Firewall: Finalize integration of OUTGOING into firewall
This commit is contained in:
committed by
Michael Tremer
parent
35fb91640a
commit
aa8647835d
@@ -22,7 +22,7 @@ if [ "$POLICY" == "MODE1" ]; then
|
||||
fi
|
||||
fi
|
||||
if [ "$POLICY1" == "MODE1" ]; then
|
||||
/sbin/iptables -A OUTGOINGFW -m state --state ESTABLISHED,RELATED -j ACCEPT
|
||||
/sbin/iptables -I OUTGOINGFW 1 -m state --state ESTABLISHED,RELATED -j ACCEPT
|
||||
if [ "$FWPOLICY1" == "REJECT" ]; then
|
||||
if [ "$DROPOUTGOING" == "on" ]; then
|
||||
/sbin/iptables -A POLICYOUT -m limit --limit 10/minute -j LOG --log-prefix "REJECT_OUTPUT"
|
||||
|
||||
Reference in New Issue
Block a user