Search > {% fnstr %}

Sorry, no more results found...
Searching...

iptables mac address filtering

| qutuphane

Block all packets from a mac address

iptables -I INPUT -m mac –mac-source 00:0A:E5:91:00:00 -j DROP

To accept requests from port 22 to a specific mac address.

iptables -A INPUT -p tcp –destination-port 22 -m mac –mac-source 00:0A:E5:91:00:00 -j ACCEPT

qutuphane © 2019