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:
Michael Tremer
2018-11-29 16:00:52 +00:00
parent b54cd874b9
commit 5a9c9ff312

View File

@@ -95,6 +95,9 @@ install_policy() {
;;
esac
# Install firewall rules only for interfaces without interface
[ -n "${interface_mode}" ] && continue
# Split multiple subnets
rightsubnets="${rightsubnets//\|/ }"