LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-14-2006, 12:51 AM   #1
shahg_shahg
Member
 
Registered: Aug 2004
Location: pakistan
Distribution: learning
Posts: 53

Rep: Reputation: 15
restrict and allow my clients to access my squid services on the bases of MAC add.


Hi dears …how I can restrict and allow my clients to access my squid services on the bases of MAC address…

Thanks….
 
Old 04-14-2006, 01:46 AM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
You can only use MAC addresses for filtering as long as the clients are on the same physical network. The layer 2 headers (MAC addresses) are stripped off when the packets are routed, so MACs can't be used for filtering remote machines. If they are on the same physical network, you can limit access to squid by specifiying the mac address in an iptables rule with: -m mac --mac-source XX:XX:XX:XX:XX:XX
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba: How to restrict access to server via MAC-address? johnny1959 Linux - Networking 5 03-27-2008 04:43 AM
Squid- restrict access to url jocast Linux - Software 0 03-10-2006 01:59 PM
restrict server access by mac address? stinkpot Linux - Software 4 11-22-2005 07:05 AM
restrict access using squid, iptables? jgnasser Linux - Networking 3 04-13-2005 07:21 AM
Restrict services to one NIC nadams Linux - Networking 3 01-12-2004 12:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration