Add TCP/UDP Ports out.

This commit is contained in:
Christoph 2019-03-19 12:42:15 +01:00
parent 908eeb69fc
commit 495369b06f
3 changed files with 62 additions and 0 deletions

View File

@ -1073,6 +1073,28 @@ tv_extern_if="eth2.8"
tv_local_if="$local_if_1" tv_local_if="$local_if_1"
# =====
# --- Allow special TCP Ports (OUT)
# =====
# - TCP Ports
# -
# - Blank separated list of tcp ports
# -
tcp_out_ports=""
# =====
# --- Allow special UDP Ports (OUT)
# =====
# - UDP Ports
# -
# - Blank separated list udp ports
# -
udp_out_ports=""
# ====== # ======
# - Other local Services # - Other local Services

View File

@ -1041,6 +1041,28 @@ tv_extern_if="eth2.8"
tv_local_if="$local_if_1" tv_local_if="$local_if_1"
# =====
# --- Allow special TCP Ports (OUT)
# =====
# - TCP Ports
# -
# - Blank separated list of tcp ports
# -
tcp_out_ports=""
# =====
# --- Allow special UDP Ports (OUT)
# =====
# - UDP Ports
# -
# - Blank separated list of udp ports
# -
udp_out_ports=""
# ====== # ======
# - Other local Services # - Other local Services

View File

@ -410,6 +410,24 @@ for _ip in $rsync_out_ips ; do
rsync_out_ip_arr+=("$_ip") rsync_out_ip_arr+=("$_ip")
done done
# ---
# - Special TCP Ports OUT
# ---
# local
declare -a tcp_out_port_arr
for _port in $tcp_out_ports ; do
tcp_out_port_arr+=("$_port")
done
# ---
# - Special UDP Ports OUT
# ---
# local
declare -a udp_out_port_arr
for _port in $udp_out_ports ; do
udp_out_port_arr+=("$_port")
done
# --- # ---
# - Other local Services # - Other local Services
# --- # ---