Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-08-2007, 12:26 AM   #1
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, 12:48 PM   #2
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-13-2007, 11:51 PM   #3
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, 05:16 AM   #4
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
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.

# Edit Proxy Group Policy in domain
\\Server1 / Master.msc / / 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
             [X] Use the same proxy server for all addresses


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

All times are GMT -5. The time now is 06:36 AM.

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