Add 'nat_netwoks' i.e. 172.16.1.0/24 on interface eth1.

This commit is contained in:
2017-04-16 12:48:13 +02:00
parent 636f55f3a5
commit f668ea62fe
2 changed files with 27 additions and 6 deletions

View File

@ -8,6 +8,12 @@
# ---
# - Masquerade TCP Connections
# ---
declare -a nat_network_arr
for _net in $nat_networks ; do
nat_network_arr+=("$_net")
done
declare -a masquerade_tcp_con_arr
for _str in $masquerade_tcp_cons ; do
masquerade_tcp_con_arr+=("$_str")