LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-06-2005, 12:35 PM   #1
dudulz
Member
 
Registered: Feb 2005
Location: Australia
Distribution: [Redhat] [Slackware] [SuSe] [FreeBSD]
Posts: 81

Rep: Reputation: 15
Question Proxy Server


to all

I want my server with proxy. Please give me explanation or downloading documnet about the configuration


thanks
 
Old 02-06-2005, 12:37 PM   #2
damicatz
Member
 
Registered: May 2004
Distribution: FreeBSD 7, Debian "Squeeze", OpenBSD 4.5
Posts: 167

Rep: Reputation: 30
What kind of proxy are you looking to run?

SOCKS or HTTP?
 
Old 02-06-2005, 08:29 PM   #3
dudulz
Member
 
Registered: Feb 2005
Location: Australia
Distribution: [Redhat] [Slackware] [SuSe] [FreeBSD]
Posts: 81

Original Poster
Rep: Reputation: 15
Arrow to damicatz

Sory about my english

My server proxy is with squid or http. please give me documention.

Last edited by dudulz; 02-06-2005 at 08:34 PM.
 
Old 02-06-2005, 09:59 PM   #4
Gaurav Wadhwa
LQ Newbie
 
Registered: Jan 2005
Location: London
Posts: 21

Rep: Reputation: 15
Well, in an enterprise that uses internet, a PROXY is a server that acts as an intermidiatory between a workstation user and the internet. Let's start with quick configuration :

Please follow these steps, It works in my system (I have RHEL) :-

1. Check whether proxy is installed or not

rpm -qa squid <return>

2. If squid isn't installed, install it. Then, edit /etc/squid/squid.conf file,
as follows :

# vi /etc/squid/squid.conf

This will open a VI editor and let you edit the file.

3. You need to edit certain lines of this file to get PROXY server.
These lines are :

3.1 " http_port " line - This line specified the socket address where
squid will listen to client's request. You can change this line
with your server's IP address as follows :

http_port 192.168.0.1:8080

This "8080" is port no. (By default 3128). You don't have to
change port no. But if you are going to change it, then, make
sure that this port no. is unique.

3.2 By default, Squide will not give any access to any client until
proper acess control lists are modified. Now, You need to
make an ACL, please use following example as illustration :

# acl mynetwork 192.168.0.1/255.255.255.0
# http_access allow mynetwork

" mynetwork is an ACL name and next line is the rule
applicable to a particular ACL .i.e, 192.168.0.1 refers to
address of the network whose netmask is 255.255.255.0."

You must add these lines (or whatever, depends on
requrements) just before "http_access deny all line" .

4. After it, just get out of VI editor by using "wq" command. Now,
restart service of proxy :

# service squid restart


_________________


on CLIENT computer,

1. go to IE -> tools -> internet options
2. select connection tab abnd click LAN setting
3. check Proxy server box and enter IP address of proxy server and
port address.

And That's sit


Hope this will solve your problem

Bye.,.....

With Warm Regards
Wadhwa, Gaurav
 
Old 02-06-2005, 11:24 PM   #5
dudulz
Member
 
Registered: Feb 2005
Location: Australia
Distribution: [Redhat] [Slackware] [SuSe] [FreeBSD]
Posts: 81

Original Poster
Rep: Reputation: 15
trims mr Gaurav Wadhwa,

I will try that step. Do you know full tutorial about proxy ?
 
Old 02-06-2005, 11:47 PM   #6
Gaurav Wadhwa
LQ Newbie
 
Registered: Jan 2005
Location: London
Posts: 21

Rep: Reputation: 15
You can check following webpages , I hope this will help you.

a) http://www.squidguard.org/config/examples/04.conf
b) http://www.squidguard.org/config
c) http://www.squid-cache.org/DOC/FAQ/FAQ-10.html

Try to search about SQUID on www.google.com or www.alltheweb.com using this search -> "setting up squid proxy"

Bye......

With warm Regards
Wadhwa, Gaurav
 
  


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
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 11:25 AM
configure squid proxy with microsoft proxy as a parent proxy nintykola Linux - Software 1 08-28-2007 01:38 AM
Linux Server behind a proxy server griggt Linux - Networking 1 11-24-2005 08:03 AM
Setting up a Linix Server as a proxy server Bill Fox Linux - Software 2 01-31-2005 09:38 PM
PROXY server red_phoenix Debian 1 09-25-2003 11:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:41 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