would you have a working example on how to deny traffic from a mac address if it is not using a allowed ip address.. I would like to use pf
On 6/24/08, Chuck Swiger <[EMAIL PROTECTED]> wrote: > On Jun 24, 2008, at 10:26 AM, Yavuz Maslak wrote: >> 1- I want to fix an ip address for each mac address. But some pc and >> servers have more than an ip address. How can I map multiple ip >> addresses for a mac address? > > Most people use ifconfig, perhaps indirectly via /etc/rc.conf. > >> 2- I want to allow these fixed mac addresses using ipfw. After that >> I want to deny all mac address via the server's local ethernet >> card. How can I do these cases? > > Few choose to go that route, but you can disable ARP and set up /etc/ > ethers, or you could even fire up your favorite firewall (IPFW, PF, > whatever), and add allow rules for the permitted MAC addresses, and > deny all others. > > -- > -Chuck > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"