LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-13-2010, 01:44 AM   #1
gulnawaz
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Rep: Reputation: 0
Bind IP address with MAC address in squid 3 ( Source baced)


Dear all,

AOA

i have followed web site http://www.sohailriaz.com/how-to-bin...h-ip-in-squid/ for MAC to IP bind but it dont work on my system plz check my squid file and comment plz
Code:
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

acl mac1 arp 00:1C:23:0B:70:8E
acl ip1 src 172.16.0.2

http_access allow ip1 mac1

http_access allow localnet
http_access allow localhost
http_access deny all
icp_access allow localnet
icp_access deny all
htcp_access allow localnet
htcp_access deny all
http_port 3128
hierarchy_stoplist cgi-bin ?
cache_mem 1024 MB
cache_dir ufs /var/spool/squid 10280 16 256
access_log /var/log/squid/access.log squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern (cgi-bin|\?) 0 0% 0
refresh_pattern . 0 20% 4320
cache_effective_user squid
cache_effective_group squid
visible_hostname testproxy.kust.edu.pk
icp_port 3130
coredump_dir /var/spool/squid
Regards

Last edited by GrapefruiTgirl; 01-13-2010 at 01:52 AM. Reason: Added code tags
 
Old 01-13-2010, 01:54 AM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Can you tell folks what exactly doesn't work? Are there any error messages you can provide, or describe how you determined that it's not working? Have you checked the squid log files for anything relevant?
 
Old 01-13-2010, 10:52 PM   #3
gulnawaz
LQ Newbie
 
Registered: Apr 2009
Posts: 15

Original Poster
Rep: Reputation: 0
dear GrapefruiTgirl

There is no error but the Mac and iP dont work at a time. if i change ip of client computer it works but i want to bind ip with mac if sone one change ip its pc dont access Net through proxy.
 
Old 01-14-2010, 01:25 AM   #4
mkp
Member
 
Registered: Jul 2008
Posts: 48

Rep: Reputation: 15
Try ip-sentinel, it's work good.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
binding of IP address to its mac address in squid proxy ramamalempati Linux - Server 5 06-05-2009 02:51 AM
Bind IP address using MAC shipon_97 Linux - Newbie 7 08-03-2008 01:45 PM
Bind Mac with Ip address shipon_97 Linux - Newbie 5 11-23-2007 12:14 AM
Bind ip with mac address sunlinux Linux - Networking 5 08-10-2007 01:23 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 04:33 AM


All times are GMT -5. The time now is 09:19 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration