[HELP] SQUID Menolak Semua Webiste


Status
Not open for further replies.

CloudNide

Banned!
pagi semuanya... :)
tadi saya habis nginstall squid 3.10 centos 6
tapi pas nyoba proxynya
jadi Gini Hasilnya :
Code:
ERROR
The requested URL could not be retrieved

The following error was encountered while trying to retrieve the URL: http://www.google.com/

    Access Denied.

Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.

Your cache administrator is root.

Generated Sun, 16 Sep 2012 02:29:48 GMT by [I]HOSTNAME DISENSOR :D[/I] (squid/3.1.10)
itu pas coba buka google .
dan buka yang lain juga ga bisa :((
Jadi Gimana Ni yah ?
mohon jawabannya :)
thanks all
 
Last edited:

Doel

Beginner 2.0
installnya dari repo atau compile sendiri, pak?
konfigurasi squid, biasanya ada di
Code:
/etc/squid/[B]squid.conf[/B]
atau di
Code:
/usr/local/squid/etc/[B]squid.conf[/B]
(tergantung dimana di installnya)

cari bagian yang seperti ini pak:

Code:
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
[COLOR=#b22222]acl network_saya src 192.168.1.0/24
[/COLOR][COLOR=#b22222]http_access allow network_saya[/COLOR]
 

galuh82

Hosting Guru
Verified Provider
jangan lupa restart service squidnya, trus sambil dipantau juga access log squidnya

gut lak ..
 

GriyaHosting

Expert 1.0
masukkan dulu aclnya, apabila server squid tersebut tidak berada di jaringan lokal, maka masukkan IP Publik anda

misal :
acl gaperta ip.pu.bl.ik/32
http_access allow gaperta

Reload dan test konfigurasi,
#squid -k reconfigure

analisa hasil log misal log squid di messages
tail -f /var/log/messages

jika tidak terdapat error coba lihat log dari squidnya. misal log error.log dan access.log berada di /var/log/squid/ (setting dalam squid.conf)

maka lihat tail -f /var/log/squid/access.log
biasanya akan terlihat mengapa di tolak aksesnya :)

CMIIW
 
Status
Not open for further replies.

Top