Add MAC address filterimh for gamin devices

This commit is contained in:
2023-02-11 15:15:10 +01:00
parent 63a8722a3e
commit 4ade386634
5 changed files with 517 additions and 377 deletions

View File

@ -1612,6 +1612,18 @@ allow_remote_mac_src_addresses=""
# =============
# - MAC Address Filtering Gaming Devices
# =============
# - MAC adresses here are only allowed connect to internet but NOT to loacl services and networks
# -
# - Blank separated list
# -
gameming_device_mac_addresses=""
# =============
# --- Basic behavior - overwrites settings from 'default_basic_behavior.conf'
# =============

View File

@ -1524,6 +1524,18 @@ allow_remote_mac_src_addresses=""
# =============
# - MAC Address Filtering Gaming Devices
# =============
# - MAC adresses here are only allowed connect to internet but NOT to loacl services and networks
# -
# - Blank separated list
# -
gameming_device_mac_addresses=""
# =============
# --- Basic behavior
# =============

View File

@ -1832,3 +1832,10 @@ for _mac in $allow_remote_mac_src_addresses ; do
allow_remote_mac_src_address_arr+=("$_mac")
done
# ---
# - MAC Address Filtering Gaming Devices
# ---
declare -a gameming_device_mac_address_arr=()
for _mac in $gameming_device_mac_addresses ; do
gameming_device_mac_address_arr+=("$_mac")
done