Computing.Net > Forums > Linux > MAC add blocking by Linux Firewall

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

MAC add blocking by Linux Firewall

Reply to Message Icon

Original Message
Name: ravinder
Date: October 11, 2003 at 00:33:13 Pacific
Subject: MAC add blocking by Linux Firewall
OS: redhat as
CPU/Ram: intel xeon
Comment:

dear friends,
I have more than 100 users in my local network.I want to use Linux firewall Internet sharing and also I want that only that person can access internet whose LAN Card's MAC address+IP adress is allowded.Also I have to use Antyvirus on this to block the viruses to my local network.I have search lot for this on net but didn't find anywhere.
Can anybody guide me how is this possible or give me the URL:// whr I can find appropriate
material.The MAC address issue is important this time.
Thanks,
Ravinder.


Report Offensive Message For Removal


Response Number 1
Name: gmoney
Date: October 12, 2003 at 21:16:20 Pacific
Reply: (edit)

Are you using iptables? If yes, this may be useful - I just went to Google.com and did a search on: linux only "MAC address"
and found this
Linux Forum post that mentions this configuration:

"iptables -A INPUT -p tcp -s 192.168.1.10 -m mac --mac-source ! 11:22:33:44:55:66 -j DROP"


Report Offensive Follow Up For Removal

Response Number 2
Name: ravinder
Date: October 17, 2003 at 06:21:33 Pacific
Reply: (edit)

Thanks gmoney,
It may work fine but situation is diffrent here
You give the command to block a particular host with ip+mac
I want to allow a particular host by ip+mac & all other denied.
How it can be possible.
I will be very thankful.
Ravinder


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home








Do you have a Desktop Computer anymore?

No
Yes, but only at work
Yes, but its rarely used
Yes, and its a workhorse


View Results

Poll Finishes Today.
Discuss in The Lounge
Poll History




Data Recovery Software