Date: Thu, 25 Jan 2007 08:22:17 -0600 From: Kevin Kinsey <kdk@daleco.biz> To: Tek Bahadur Limbu <teklimbu@wlink.com.np> Cc: freebsd-questions@freebsd.org Subject: Re: Blocking traffic by Mac address using IPFW Message-ID: <45B8BD19.8080705@daleco.biz> In-Reply-To: <20070125154549.236dca3f.teklimbu@wlink.com.np> References: <20070125154549.236dca3f.teklimbu@wlink.com.np>
next in thread | previous in thread | raw e-mail | index | archive | help
Tek Bahadur Limbu wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Dear All, > > I need some help regarding using IPFW to block specific MAC addresses. > How do I block incoming traffic by a MAC address instead of an IP > address. > > Can this be done using IPFW? Since I am quite new to FreeBSD, can > somebody shed some light on this issue? Yes, it appears that ipfw(8) can do this --- check the manpage (quite a ways down, in the RULE OPTIONS section [ about byte 45000] for full details; note also that there may be other issues involved. Here is a short thread on the subject from a couple of years ago: http://lists.freebsd.org/pipermail/freebsd-ipfw/2004-September/001375.html Disclaimer: IANAE, and don't play one on television ;-) HTH, Kevin Kinsey -- Heisenberg may have been here.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45B8BD19.8080705>