Add support for restricted VPN networks.
This commit is contained in:
@ -130,6 +130,22 @@ for _dev in $unprotected_ifs ; do
|
||||
unprotected_if_arr+=("$_dev")
|
||||
done
|
||||
|
||||
# ---
|
||||
# - Restrict VPN Network to local Service
|
||||
# ---
|
||||
declare -a restrict_vpn_net_to_local_service_arr=()
|
||||
for _val in $restrict_vpn_net_to_local_service ; do
|
||||
restrict_vpn_net_to_local_service_arr+=("$_val")
|
||||
done
|
||||
|
||||
# ---
|
||||
# - Restrict VPN Network to local (Sub) network
|
||||
# ---
|
||||
declare -a restrict_vpn_net_to_local_subnet_arr=()
|
||||
for _val in $restrict_vpn_net_to_local_subnet ; do
|
||||
restrict_vpn_net_to_local_subnet_arr+=("$_val")
|
||||
done
|
||||
|
||||
# ---
|
||||
# - Allow these local networks any access to the internet
|
||||
# ---
|
||||
|
Reference in New Issue
Block a user