How to block specific IPs?
Hello,
I want to block specific IPs or allow specific IPs at Ethernet level. How can i do that? I dont want those blocked IP packets to reach IP layer instead reject them by NIC or any program after processing Ethernet layer? If thats not possible then is there any way to allow packets with only specific HW address of NICs? regards, cranium. |
Use iptables and set a rule to reject the packets.
More info and iptables on http://www.netfilter.org/ |
But iptables works at IP layer. I want to block at Ethernet/ Link layer.
|
Maybe http://ebtables.sourceforge.net/ ?
|
All times are GMT -5. The time now is 04:16 PM. |