summaryrefslogtreecommitdiff
path: root/data/templates/wifi/hostapd_deny_station.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/wifi/hostapd_deny_station.conf.j2')
-rw-r--r--data/templates/wifi/hostapd_deny_station.conf.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/data/templates/wifi/hostapd_deny_station.conf.j2 b/data/templates/wifi/hostapd_deny_station.conf.j2
new file mode 100644
index 000000000..fb2950dda
--- /dev/null
+++ b/data/templates/wifi/hostapd_deny_station.conf.j2
@@ -0,0 +1,7 @@
+# List of MAC addresses that are not allowed to authenticate
+# (IEEE 802.11) with the access point
+{% if security.station_address.deny.mac is vyos_defined %}
+{% for mac in security.station_address.deny.mac %}
+{{ mac | lower }}
+{% endfor %}
+{% endif %}