Re: How to make good Squid(Proxy ) Server in FreeBSD 5.4 ?



Hi Prakash,

Prakash Poudyal wrote:
Hello Everybody,

Can anybody give me idea related to configure the squid (proxy server). I
need to know hhow much I need to fix the cache memeory . My machine consist
of 2 GB Ram and dual processor . And operating system is FreeBSD 5.4. And I
do have client more than 500 and most of them are research orriented. And
also I am trying to configure another proxy server as for the parent proxy.
So please tell me how to make parent proxy as well. So please give me some
idea or tips so that I could run the server properly and my clients would
have a good smile in there face.


Configuring a Squid proxy server is a long and enduring process. Also it depends upon what you want to achieve. A high hit ratio rate, fast median service times, etc. There is no shortcut in setting up a proxy server. As time goes on, you need different settings to tune it. What worked today might not work tomorrow.

With FreeBSD, you have an 2 options to install Squid. Either from ports or source.

If you are install Squid from source, the following options might help:

'--enable-removal-policies=lru heap'
'--enable-storeio=coss,ufs diskd null aufs' '--enable-delay-pools' '--enable-snmp' '--enable-cache-digests' '--with-large-files' '--enable-large-cache-files' '--enable-kill-parent-hack'


Also, I suggest you to go with the latest version of Squid which is squid-2.6.14 currently.

Version-2.6 is extremely CPU friendly.

Regarding the cache_mem parameter, just use 32 MB for a default option.

A system with 2 GB of memory and Dual processor should be able to handle 500 or more customers.

Regarding a parent-child hierarchy using Squid, just configure and install the parent Squid as you would do normally.

In your child Squid proxy, just add the following lines in your squid.conf:


cache_peer ParentProxyIP parent 3128 3130

That should do it for a basic parent/child relationship.

Your Squid Port and ICP port might be different.

Hope it helps.


Thanking you...




Thank you,



Prakash
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"





--

With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal

http://www.wlink.com.np
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: How to Stop bypassing Proxy server?
    ... i am using a similar setup on my network. ... using port 3128). ... configured squid to do transparent proxy. ... > bypassing the in-house proxy server. ...
    (comp.os.linux.networking)
  • Re: How to make good Squid(Proxy ) Server in FreeBSD 5.4 ?
    ... Can anybody give me idea related to configure the squid (proxy server). ... install the parent Squid as you would do normally. ... Your Squid Port and ICP port might be different. ...
    (freebsd-questions)
  • Re: Firewall And Proxy Servers With Sonicwall
    ... I've run proxy servers inside Sonicwall no problem. ... So far as the sonic is concerend, the Squid is just a busy browser. ... But I've never added the Sonic's CFL to the equation. ... >If I put the proxy server inside the Lan, again I have issues with CFL not ...
    (comp.security.firewalls)
  • Re: Illegal use of my server??
    ... How was Squid used to relay ... It happened because somebody just dropped a proxy server on their network ... Live, learn, realize that you made a mistake configuring your proxy server, ... ISP, assure them that you won't be making a proxy server mistake again. ...
    (freebsd-isp)
  • Re: debian squid proxy server
    ... Firewall is setup, proxy server is squid. ... The internet application is using different ports, ... the users can also go to https sites (which are using port 443). ... Squid maintains an access control list called "Safe_ports". ...
    (Debian-User)

Loading