mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
ipsec-policy: Don't install any block rules for connections with an interface
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -95,6 +95,9 @@ install_policy() {
|
||||
;;
|
||||
esac
|
||||
|
||||
# Install firewall rules only for interfaces without interface
|
||||
[ -n "${interface_mode}" ] && continue
|
||||
|
||||
# Split multiple subnets
|
||||
rightsubnets="${rightsubnets//\|/ }"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user