LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   prerequisite for squid. (https://www.linuxquestions.org/questions/linux-newbie-8/prerequisite-for-squid-851328/)

gardenair 12-20-2010 04:15 AM

prerequisite for squid.
 
hi,
I am using Red Hat Linux and i want to to configure SQUID server on it. The server has two Lan cards.

WAN eth0 192.168.1.200
LAN eth1 192.168.1.210

I have a static IP from my ISP. In my private network i have 40 computers running windows xp and fedora ,ubuntu as a destop pc's from range of 192.168.1.10 to 192.168.1.40

In my server computer I can brows internet because it is directly connected with the ISP.For configuring squid should I first make this computer as a gatewat by packet forwarding
i.e # echo 1 > /proc/sys/net/ipv4/ip_forward
and then configure for squid server ? i does't have any idea.
please guide me.
garden

acid_kewpie 12-20-2010 04:39 AM

squid is the exact opposite of a router. Well.. no it's not, maybe a chicken is the opposite... or something that's not about IT for a start... But either way, with squid you are *proxying* and not *routing* as such you do NOT want ip forwarding enabled at all. So from what you have surmised, and removing the ip forwarding bit, you need to 1) install squid and 2) configure squid by referring to the standard documentation for it.


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