mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
firewall: Fix MAC filter
Packets destined for the firewall coming in from the blue device where accepted too early to be processed by the firewall input chain rules. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -60,6 +60,11 @@ HAVE_OPENVPN="true"
|
||||
# Allow access from GREEN
|
||||
iptables -A POLICYIN -i "${GREEN_DEV}" -j ACCEPT
|
||||
|
||||
# Allow access from BLUE
|
||||
if [ "${HAVE_BLUE}" = "true" ] && [ -n "${BLUE_DEV}" ]; then
|
||||
iptables -A POLICYIN -i "${BLUE_DEV}" -j ACCEPT
|
||||
fi
|
||||
|
||||
# IPsec INPUT
|
||||
case "${HAVE_IPSEC},${POLICY}" in
|
||||
true,MODE1) ;;
|
||||
|
||||
Reference in New Issue
Block a user