diff options
author | Christian Breunig <christian@breunig.cc> | 2023-08-23 20:20:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-23 20:20:23 +0200 |
commit | db67bc204e77fb2dd7d4a76672c63bc9bbfc07e1 (patch) | |
tree | b7e61ea893f7ff0768abbdb8f02f7c7842b3a4c4 /data/templates/wifi/hostapd_accept_station.conf.j2 | |
parent | f25e1c9fa166c22d2a329ae435ae8be4f80985ef (diff) | |
parent | 35a46e4abfcece1beefb898ebd7fcb688fc55de5 (diff) | |
download | vyos-1x-db67bc204e77fb2dd7d4a76672c63bc9bbfc07e1.tar.gz vyos-1x-db67bc204e77fb2dd7d4a76672c63bc9bbfc07e1.zip |
Merge pull request #2159 from c-po/t5491-wifi
wifi: T5491: allow white-/blacklisting station MAC addresses for security
Diffstat (limited to 'data/templates/wifi/hostapd_accept_station.conf.j2')
-rw-r--r-- | data/templates/wifi/hostapd_accept_station.conf.j2 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/data/templates/wifi/hostapd_accept_station.conf.j2 b/data/templates/wifi/hostapd_accept_station.conf.j2 new file mode 100644 index 000000000..a381c947c --- /dev/null +++ b/data/templates/wifi/hostapd_accept_station.conf.j2 @@ -0,0 +1,7 @@ +# List of MAC addresses that are allowed to authenticate (IEEE 802.11) +# with the AP +{% if security.station_address.accept.mac is vyos_defined %} +{% for mac in security.station_address.accept.mac %} +{{ mac | lower }} +{% endfor %} +{% endif %} |