0

If not possible, is there any workaround without affecting CPU performance?

iptables -A INPUT -p tcp --dport 80 -j DROP

Binyamin
  • 133
  • 1
  • 7

1 Answers1

1

If you don't use static ip but DHCP, you can filter on mac address in iptables. Something like :

iptables -A INPUT -p tcp --destination-port 80 -m mac --mac-source 00:0F:EA:91:04:07 -j ACCEPT

With your workstation mac address.

Have a look here : http://www.cyberciti.biz/tips/iptables-mac-address-filtering.html

Hope this help !

krisFR
  • 13,280
  • 4
  • 36
  • 42