To control accessos by MAC address of ethernets

vitadiazlistas vitadiazlistas at yahoo.com.ar
Mon Feb 14 12:32:56 PST 2005


>From already thank you very much reading to me.

This compiled ipfw2 and works everything except this

I have ipfw2 very well walking but I need to validate the accesses of the LAN by interval of the MAC of ethernets and I have not been able to make walk this.

Somebody can show to me like is that ipfw2 with the subject of the MAC works Thanks 

Can that the this not putting rules in the place which they go?  that is in the part of firewall where they funcionarian as filter.

The same it happens to me with IPA adds paketes but it does not let to me walk but the control of bandwith.

Also it is rare.

Says to me that there is to patch freebsd because in some cases it does not walk that type of control.

I do not want to use DHCP to validate I must make a control of accesses by wireless and LAN via ipfw2, if it will be by better Web but I am trying to do it i myself.

My firewall



## rl0 NAT (LAN 1)
## ep1 conecction internet

ipfw -f flush

ipfw add divert natd all from any to any via ep1

ipfw add allow all from any to 192.168.1.56 MAC any 00:0d:88:ba:b9:40 via rl0
(no add paketes)

ipfw add fwd 127.0.0.1,3128 tcp from 192.168.0.0/16 to not 192.168.0.0/16 80

ipfw add pipe 78 tcp from any 80 to 192.168.0.0/16

ipfw pipe 78 config mask src-ip 0x000000ff bw 80Kbit/s


More information about the freebsd-ipfw mailing list