Merge branch 'master' of git.oopen.de:firewall/ipt-gateway
This commit is contained in:
@ -1365,6 +1365,7 @@ udp_out_ports=""
|
||||
other_services=""
|
||||
|
||||
|
||||
|
||||
# =============
|
||||
# --- Masuqerading
|
||||
# =============
|
||||
@ -1402,6 +1403,34 @@ nat_networks=""
|
||||
masquerade_tcp_cons=""
|
||||
|
||||
|
||||
# - Masquerade UDP Connections
|
||||
# -
|
||||
# - masquerade_udp_con="<src-network>:<dst-host>:<dst-port>:<output-device> [<src-network>:<dst-host>: ..]"
|
||||
# -
|
||||
# - Example:
|
||||
# -
|
||||
# - masquerade_udp_con="192.168.63.0/24:192.168.62.244:123"
|
||||
# - 10.0.0.0/8:192.168.62.244:161"
|
||||
# -
|
||||
# -
|
||||
# - Blank separated list
|
||||
# -
|
||||
masquerade_udp_cons=""
|
||||
|
||||
|
||||
|
||||
# - Masquerade ICMP Connections
|
||||
# -
|
||||
# - masquerade_icmp_cons="<src-network>:<dst-host> [<src-network>:<dst-host>] .."
|
||||
# -
|
||||
# - 192.168.81.249: Switch
|
||||
# -
|
||||
# - Blank separated list
|
||||
# -
|
||||
masquerade_icmp_cons=""
|
||||
|
||||
|
||||
|
||||
# =============
|
||||
# --- Portforwarding
|
||||
# =============
|
||||
|
@ -19,6 +19,16 @@ for _str in $masquerade_tcp_cons ; do
|
||||
masquerade_tcp_con_arr+=("$_str")
|
||||
done
|
||||
|
||||
declare -a masquerade_udp_con_arr
|
||||
for _str in $masquerade_udp_cons ; do
|
||||
masquerade_udp_con_arr+=("$_str")
|
||||
done
|
||||
|
||||
declare -a masquerade_icmp_con_arr
|
||||
for _str in $masquerade_icmp_cons ; do
|
||||
masquerade_icmp_con_arr+=("$_str")
|
||||
done
|
||||
|
||||
|
||||
# ---
|
||||
# - Extern Network interfaces (DSL, Staic Lines, All together)
|
||||
|
Reference in New Issue
Block a user