Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Dec 2003 16:05:07 -0500
From:      "The Jetman" <jetman@mycbc.com>
To:        "FBSD IPFW" <freebsd-ipfw@freebsd.org>
Subject:   Re: Translate MAC address to IP address
Message-ID:  <007301c3bdd5$28713f60$3200a8c0@CBCOFFICE>
References:  <000601c3bd22$eea7fbf0$0a00a8c0@Nass> <20031207211448.D96687@odysseus.silby.com>

next in thread | previous in thread | raw e-mail | index | archive | help

    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@silby.com>
To: "Dan Constantinescu" <gonzo@gamebox.net>
Cc: <freebsd-net@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007301c3bdd5$28713f60$3200a8c0>