Translate MAC address to IP address
The Jetman
jetman at mycbc.com
Mon Dec 8 13:45:21 PST 2003
Mike: Am I mistaken or can MAC-oriented IPFW2 rules be used along side
IP-oriented rules ? I ask bec I setup a very simple script that would filter
all but a couple of MAC addrs then fwd incoming IPs to an internal web
site. I *thought* I tried all of the reasonable combinations, but I TOO
would like to know more about this. That is, I can filter certain MAC addrs
*OR* I can filter/forward certain IPS, but I can't do both in the same IPFW
script. Later....Jet
=============== From the desk of Jethro Wright, III ================
+ Nothing causes self-delusion quite so readily as power. =
=== jetman516 at hotmail.com ====================== Liu Binyan ===
----- Original Message -----
From: "Mike Silbersack" <silby at silby.com>
To: "Dan Constantinescu" <gonzo at gamebox.net>
Cc: <freebsd-net at freebsd.org>
Sent: Sunday, December 7, 2003 22:15 PM
Subject: Re: Translate MAC address to IP address
>
> On Mon, 8 Dec 2003, Dan Constantinescu wrote:
>
> > My name is Dan , and i would ask you for help...how can i filter users
> > from a LAN to acces internet throuh a freebsd server (i've installed it)
> > by MAC? Or i need a script to bind ip to mac? Thank's Dan.
>
>
> If you're running a recent release of freebsd (4.8 or later should do),
> you can recompile your kernel with IPFW2, which supports filtering by mac
> addresses; see the ipfw manpage for more information.
>
> IPFW2 is the default in 5.x, so you wouldn't need to recompile if you're
> running 5.x.
>
> Mike "Silby" Silbersack
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>
More information about the freebsd-ipfw
mailing list