Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

filtering mac address with iptables

2 views
Skip to first unread message

Storm Petersen

unread,
Sep 5, 2001, 8:13:11 AM9/5/01
to
I am having trouble programming iptables to filter out mac address.

I would like to only allow certian local hosts based on thier mac addess to
access to the outside network (internet).

Any help would be appreciated!

Elvis Zaichenok

unread,
Sep 7, 2001, 6:08:15 AM9/7/01
to
"Storm Petersen" <sto...@telus.net> wrote in message news:<rFol7.5$Gi6....@news0.telusplanet.net>...

1. Set manualy MAC to IP address:
arp -a <IP> <MAC>

2. Then make rule to the IP:
ipchains -A forward -s <IP> -d !<local_network> -b -j DENY
or use iptables to do this

0 new messages