Add support for WireGuard.
This commit is contained in:
@ -542,6 +542,25 @@ for _port in $vpn_out_ports ; do
|
||||
vpn_out_port_arr+=("$_port")
|
||||
done
|
||||
|
||||
# ---
|
||||
# - WireGuard Ports
|
||||
# ---
|
||||
declare -a wg_gw_port_arr
|
||||
for _port in $wg_gw_ports ; do
|
||||
wg_gw_port_arr+=("$_port")
|
||||
done
|
||||
declare -a wg_local_net_port_arr
|
||||
for _port in $wg_local_net_ports ; do
|
||||
wg_local_net_port_arr+=("$_port")
|
||||
done
|
||||
declare -a wg_out_port_arr
|
||||
if [[ -z "$wg_out_ports" ]] ; then
|
||||
wg_out_ports="$standard_wg_port"
|
||||
fi
|
||||
for _port in $wg_out_ports ; do
|
||||
wg_out_port_arr+=("$_port")
|
||||
done
|
||||
|
||||
# ---
|
||||
# - Rsync Out Ports
|
||||
# --
|
||||
|
Reference in New Issue
Block a user