Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 12-31-2003, 05:28 AM   #1
Registered: Jul 2003
Posts: 129

Rep: Reputation: 15
iptables & mac addresses

Hello every1
i d like to oblige everybody using my gateway to use a specific IP ( cause often the little smart guys we have change their IPs and do illegal stuff ) well i used this syntax with iptables
iptables -A INPUT -s ! -m mac --mac-source 00:08:02:EB:6B7 -j DROP
the was a machine that i used for tests i changed it's ip to BUT !, the probleme is : iptables don't block all packets that's right the client machine wont surf over the net but it can send packet over the gatway such ICMP one , and when using IPs rather than nomral address we can even open URLs with the browser .... sounds like only the DNS stops working , is there any other way to get this working ?
thanx from the advence !
Old 12-31-2003, 05:48 AM   #2
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Have a read of this thread..
Old 12-31-2003, 06:22 AM   #3
Registered: Jul 2003
Posts: 129

Original Poster
Rep: Reputation: 15
Thanx peter , it's exactly what i need


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables rules with MAC addresses ProtoformX Linux - Networking 5 04-28-2005 08:54 AM
can MAC addresses be tracked? m00 Linux - Security 7 11-16-2004 10:50 PM
Viewing MAC addresses ivanatora Linux - Networking 1 09-26-2003 01:47 PM
Mac Addresses nixdisciple Linux - Security 6 07-01-2002 11:55 PM
Finding mac addresses Chijtska Linux - Security 5 02-27-2002 05:34 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration