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 Read more…
Bir mac adresinden gelen tüm paketleri engellemek istiyorsak; iptables -I INPUT -m mac –mac-source 00:0A:E5:91:00:00 -j DROP 22 numaralı porta sadece belirli bir mac adresinden gelen bağlantı isteklerini kabul eder. Tabi öngörülen INPUT policy drop olmalı. iptables -A INPUT -p tcp –destination-port 22 -m mac Read more…