Fix different errors concerning extern resources from local networks/inferfaces.

This commit is contained in:
2019-02-23 21:11:32 +01:00
parent 17906277b7
commit 29c0ad1906
4 changed files with 16 additions and 16 deletions

View File

@ -247,13 +247,13 @@ allow_local_if_to_local_ip=""
# - allow_local_if_to_ext_service
# -
# - allow_local_if_to_ext_service="<local-interface>,<extern-ip>:<ext-port>:<protocol> [.."
# - allow_local_if_to_ext_service="<local-interface>,<extern-ip>,<ext-port>,<protocol> [.."
# -
# - All traffic from the given (local) network interface to the given (extern) service is allowed
# -
# - Example:
# - allow_local_if_to_ext_service="${local_if_1},2a01:30:0:13:211:84ff:feb7:7f9c,3306:tcp
# - ${local_if_2},2a01:30:0:13:211:84ff:feb7:7f9c,3306:tcp"
# - allow_local_if_to_ext_service="${local_if_1},2a01:30:0:13:211:84ff:feb7:7f9c,3306,tcp
# - ${local_if_2},2a01:30:0:13:211:84ff:feb7:7f9c,3306,tcp"
# -
# - Blank separated list
# -

View File

@ -153,7 +153,7 @@ done
# - Allow extern service from given local interface
# ---
declare -a allow_local_if_to_ext_service_arr
for val in $allow_local_if_to_ext_service ; do
for _val in $allow_local_if_to_ext_service ; do
allow_local_if_to_ext_service_arr+=("$_val")
done
@ -161,7 +161,7 @@ done
# - Allow extern network from given local interface
# ---
declare -a allow_local_if_to_ext_net_arr
for val in $allow_local_if_to_ext_net ; do
for _val in $allow_local_if_to_ext_net ; do
allow_local_if_to_ext_net_arr+=("$_val")
done
@ -169,7 +169,7 @@ done
# - Allow extern service from given local network
# ---
declare -a allow_local_net_to_ext_service_arr
for val in $allow_local_net_to_ext_service ; do
for _val in $allow_local_net_to_ext_service ; do
allow_local_net_to_ext_service_arr+=("$_val")
done
@ -177,7 +177,7 @@ done
# - Allow extern network from given local network
# ---
declare -a allow_local_net_to_ext_net_arr
for val in $allow_local_net_to_ext_net ; do
for _val in $allow_local_net_to_ext_net ; do
allow_local_net_to_ext_net_arr+=("$_val")
done