LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   configuration of squid.conf file for fedore core 3 (https://www.linuxquestions.org/questions/linux-networking-3/configuration-of-squid-conf-file-for-fedore-core-3-a-315197/)

raju_dhakar2002 04-20-2005 03:32 AM

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

Ammad 04-20-2005 03:55 AM

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

raju_dhakar2002 04-20-2005 04:07 AM

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??

Ammad 04-20-2005 10:25 PM

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


All times are GMT -5. The time now is 04:28 PM.