المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : لينكس سكود بروكسى سيرفر SQUID



moon2day
09-06-2004, 10:49 AM
الاخوة الاعزاء
ارجوا مساعدتى فى تركيب بروكسى سيرفر فى نظام ردهات 9 وذلك لاجل مشاركة الانترنت على مجموعة اجهزة اخرى
لاتحرمونا من الاستفادة

وشكر لكم مقدما
MOON2DAY

RABEH
09-06-2004, 06:32 PM
Samplly


If u didn't install squid install it from www.squid-cache.org


tar xvfz squid"your version".tar.gz

cd squid"your version"

./configure

make

make install

Now configure you file /etc/squid/squid.conf as your network state

Read this How to - to configure the file

http://www.squid-cache.org/Doc/FAQ/FAQ.html


And see this example file:
--------------------------------------------------------------------------------------------------
http_port 8181
FOUND OK##### acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 16 MB
cache_dir ufs /cache256 16 200
redirect_rewrites_host_header off
acl localnet src192 .168.1.0/255.255.255.0
acl localhost src127 .0.0.1/255.255.255.255
http_access allow localnet
http_access allow localhost
http_access deny all
cache_effective_user squid
cache_effective_group squid
--------------------------------------------------------------------------------------------


--> after that type in terminal


squid -z


--- then wait 30 Min or more

. . . . . . . . . . . . . . . . . . . . .

. . . . . . . -- after 30 min . . . . . . .


verify squid config file is correct by type

squid --k parse
if u see nothing --- that is mean the file is OK
if u see error -- that mean your file has error and , try in it

then start service
service squid start
or restart if alrady started.


Now config your browsers to your IP and port
the prot is same : http_port ???? that entered in config file
the default is 3128

ابو حجاج
09-06-2004, 06:38 PM
أخي

هذا الموقع يفيدك في إعداد السريفر

http://en.tldp.org/HOWTO/TransparentProxy.html

و هذه المشاركة

http://www.montada.com/showthread.php?t=14547

أخوك

أبو حجاج