Block MAC Address

NethServer Version: 7.9.2009
Module: DHCP

Hello everyone, is it possible to block a MAC Address in the DHCP of Nethserver so that the device cannot connect to the network?

… this kind of setting should be done on switches… not on servers.

1 Like

Maybe Fail2ban can help…

Fail2Ban chews ip addresses, not Macaddresses.

Ah yes indeed. First Mac then DHCP then IP then Fail2ban :slight_smile:

Thanks for the answer, pike. I will check on the switch.

It’s possible to just allow the specified MAC addresses in DHCP. It can be done in the firewall app settings in server manager, see also Firewall — NethServer 7 Final

1 Like

IMVHO that doesn’t fit with this requirement.

If the device will be configured manually with a “matching” IP address, will be still able to browse the whole subnet. It will be not able to route outside, but still knock on every device.

1 Like