Para bloquear:

sudo iptables -t filter -A FORWARD -d 0/0 -s IP -m mac –mac-source MAC_ADDRESS -j REJECT

Para liberar:

sudo iptables -t filter -D FORWARD -d 0/0 -s IP -m mac –mac-source MAC_ADDRESS -j ACCEPT

Bastando mudar IP e MAC_ADDRESS.

Gostou??? Compartilhe!!!
  • Add to favorites
  • Print
  • PDF
  • email
  • RSS
  • del.icio.us
  • Facebook
  • LinkedIn
  • Google Bookmarks
  • Twitter
  • MySpace
  • StumbleUpon
  • Live
  • BlinkList
  • Netvibes
  • Sphinn
© 2011 Vinicius Cordeiro Suffusion theme by Sayontan Sinha
6 visitors online now
1 guests, 5 bots, 0 members
Max visitors today: 9 at 12:58 am BRT
This month: 14 at 02-03-2012 01:13 am BRT
This year: 25 at 01-27-2012 02:32 am BRT
All time: 2656 at 02-03-1998 04:52 am BRT