Do not use on any
shared computer
September 5, 2008 02:09am pdt
 
[x]
Attachment Details

IPTABLES MAC filtering How-To

Tags: IPTABLES
Ok so I've got Debian and 2 network cards on a small box to get a router running.  The routing and firewall part I can find on my own but the usage part I can't figure out.  I'll be updating a SQL database every minute with MAC address usage (upload and download).  So all traffic passing through let's say interface eth1 will have to be counted by to what MAC it goes to or what MAC it's coming from depending on if it's incoming traffic or outgoing.  I want to do this with IPTABLES.  I'll have to create chains with each MAC address and a rule to only accept traffic to and from specific MAC addresses.

Thanks a lot for helping out :)
Start your free trial to view this solution
Question Stats
Zone: Security
Question Asked By: dprovencher
Question Asked On: 06.07.2008
Participating Experts: 4
Points: 500
Views: 0
Translate:
Loading Advertisement...
 
[+][-]Expert Comment by omarfarid

Rank: Master

Expert Comment by omarfarid:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by dprovencher
Author Comment by dprovencher:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by mariourk
Expert Comment by mariourk:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by mariourk
Expert Comment by mariourk:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by Blaz

Rank: Master

Expert Comment by Blaz:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by Nopius

Rank: Wizard

Expert Comment by Nopius:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080723-EE-VQP-34 / EE_QW_2_20070628