الشرح الكامل لتثبيت Squid على سرفر خاص



في هذا الشرح سنتطرق لشرح تثبيت و اعداد البروكسي على سرفر لينكس توزيعة 
centos 6 / 32bit 

ماذا نحتاج لاعداد البروكسي 

سرفر خاص من نظام التشغيل المذكور من قبل 

centos 6 / 32bit
ايبي السرفر و اسم المستخدم و كذلك كلمة السرفر الخاص ب

SSH 


و اخيرا اتبع الشرح خطوة بخطوة 

الخطوة الاولى قم بفتح الترمينال و طبق الامر التالي 

[root@dzweb ~]#yum -y install squid

الخطوة الثانية نقوم بتطبيق الامر التالي على الترمينال

[root@dzweb ~]# 
vi /etc/squid/squid.conf

acl CONNECT method CONNECT
# في السطر ال 31 قم بالتغيير التالي

acl lan src 10.0.0.0/24


http_access allow localhost
# السطر 59: add (  ACL  )
http_access allow lan

# السطر 64 : قم بتغيير البورت
http_port
8080

# اظف هي اخر السطر 
request_header_access Referer deny all
request_header_access X-Forwarded-For deny all
request_header_access Via deny all
request_header_access Cache-Control deny all
#  (هنا قم بتعديل الهوست نيم)
visible_hostname prox.dzweb.me
# يمكنك  (يمكنك تغيير الامر لاخفاء او اظهار الايبي ادرس)
forwarded_for off
الخطوة الثالثة بعد التعديل السابق سنطبق الامر  التالي 

[root@prox ~]# /etc/rc.d/init.d/squid start 




Share on Google Plus

About Unknown

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 commentaires: