LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-08-2007, 01:26 AM   #1
zebias
LQ Newbie
 
Registered: Nov 2007
Location: Harare Zimbabwe
Distribution: Red Hat 9
Posts: 17

Rep: Reputation: 0
configuring a proxy server and access control lists


I would like to configure my machine runninng redhat 9 such that one of the machines on the same LAN im on will use my machine as its gateway or its proxy server address to use the internet. Im talking about specifying my ip address on the client machines browser settings under Lan settings.

I would then want to specify acces control lists in squid.conf to specify the particular machines i want to use mu machine their proxy server.

I hope my question is clear.
Making use of http_access allow or http_access deny
 
Old 11-09-2007, 01:48 PM   #2
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Rep: Reputation: 59
You could set up a dhcp-server that gives a standard gateway for some users and custom gateway for other users depending on mac-address, and then route the request from your client to your squid using iptables.
 
Old 11-14-2007, 12:51 AM   #3
zebias
LQ Newbie
 
Registered: Nov 2007
Location: Harare Zimbabwe
Distribution: Red Hat 9
Posts: 17

Original Poster
Rep: Reputation: 0
ok where do I set up the dhcp server. Remember ny machine is a client machine on a LAN but i just want to make it act as a proxy server for the other machines on the network.

I understand that in squid.conf is where i have to specify which ip addresses should be able to browse using my machine as their prxy server where they will specify my ip address as their proxy server.
 
Old 11-14-2007, 06:16 AM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
I'm more used to doing this for groups in active directory but, you may have success doing it for few machines by going to Start / Run / gpedit ...

On the Redhat box, I find it much easier to use webmin for managing squid acl lists. We block everything then, add allowed sites to the allow-access url_regexp.

Code:
# Edit Proxy Group Policy in domain
\\Server1 / Master.msc / Someplace.com / Sales / Properties / Group Policy tab
   Proxy Policy / Edit
      User Configuration / Windows Settings / IE Maintenance
         Connection / Connection Settings
             Do not customize Connection Settings
         Connection / Proxy Settings
             [X] Enable proxy settings
             Proxy Servers
                Address of proxy           Port
                10.0.1.95                  3128
             [X] Use the same proxy server for all addresses
 
  


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
Access Control Lists aaf Linux - Software 2 01-08-2007 12:57 PM
Need help with Access Control Lists GUIPenguin Linux - Security 2 01-06-2006 08:49 AM
network access control with transparent proxy server namin Linux - Networking 1 08-16-2004 03:11 PM
network access control with transparent proxy server namin Linux - Newbie 1 08-15-2004 06:51 PM
Access Control Lists wgriffin43 Linux - Software 2 09-23-2002 08:54 PM


All times are GMT -5. The time now is 06:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration