LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 04-20-2005, 03:32 AM   #1
raju_dhakar2002
LQ Newbie
 
Registered: Feb 2005
Location: Jalandhar
Posts: 15

Rep: Reputation: 0
configuration of squid.conf file for fedore core 3


hi pals...
this a professional user of linux.
i want to install squid as my porxy server ..so what are the basic changes i should make in my squid.conf ile..which is found in /etc/squid/squid.conf..
please can anyone give me idea how to configure that file..
suppose my proxy ip is 1.1.1.1 and my public ip is 200.200.200.200
now please help me out...
what else is also required for it???
anyhelp will be highly appricited..
regards..
Raju
 
Old 04-20-2005, 03:55 AM   #2
Ammad
Member
 
Registered: Apr 2004
Distribution: redhat 9.0, fc4, redhat as 4
Posts: 517

Rep: Reputation: 31
i recomend you to read how-to on squid-cache.org

a minimal configuration is here below, search and uncomment these tags in /etc/squid/squid.conf

http_.... 3128

cache_mem 8
cache_dir /var/spool/squid 100 16 256


cache lru

# now in acl section
#Insert your own rules

acl me src 1.1.1.1
acl reject src 0.0.0.0

http_access allow me
http_access deny reject

#now save the configuration file if you are using squid first time then type

root@c1 root # squid -z

root@c1 root# serveric squid start

to configure your clients define your ip address and http port 3128 in borwser settings
 
Old 04-20-2005, 04:07 AM   #3
raju_dhakar2002
LQ Newbie
 
Registered: Feb 2005
Location: Jalandhar
Posts: 15

Original Poster
Rep: Reputation: 0
thnkxxx

thnkx dear...but what abt NIC cards....

supoose i have public ip as 200.200.200.200
and my proxy ip is 1.1.1.1
do i need 2 nic cards or i can manage it by making one as virtual card??
 
Old 04-20-2005, 10:25 PM   #4
Ammad
Member
 
Registered: Apr 2004
Distribution: redhat 9.0, fc4, redhat as 4
Posts: 517

Rep: Reputation: 31
in first option i told you where you have to define 3128.
you can specify your internal ip address like


http_... 1.1.1.1:3128
 
  


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
Problems with the named.conf-file configuration dmarkic Linux - Networking 3 07-07-2005 10:07 AM
Squid.conf big file Linutzo Linux - Networking 1 05-06-2005 11:51 PM
Wireless configuration for fedore core 3 bernard_lieu Linux - Wireless Networking 4 12-01-2004 09:51 AM
squid.conf - example file blaci Linux - Networking 1 07-23-2003 05:27 AM
squid.conf file !! hitesh_linux Linux - Networking 1 03-24-2003 10:33 AM


All times are GMT -5. The time now is 09:42 PM.

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