[HELP] SQUID Menolak Semua Webiste

Discussion in 'VPS (Virtual Private Server)' started by CloudNide, 16 Sep 2012.

Thread Status:
Not open for further replies.
  1. CloudNide

    CloudNide Banned!

    Messages:
    101
    Likes Received:
    5
    Trophy Points:
    0
    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: 16 Sep 2012
  2. Doel

    Doel Beginner 2.0

    Messages:
    72
    Likes Received:
    26
    Trophy Points:
    18
    ip address network-nya sudah dimasukkan ke ACL ?
     
  3. CloudNide

    CloudNide Banned!

    Messages:
    101
    Likes Received:
    5
    Trophy Points:
    0
    gimana caranya ?
     
  4. Doel

    Doel Beginner 2.0

    Messages:
    72
    Likes Received:
    26
    Trophy Points:
    18
    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]
     
  5. CloudNide

    CloudNide Banned!

    Messages:
    101
    Likes Received:
    5
    Trophy Points:
    0
    tetap aja masih gak bisa . :(( ada jawaban lain gak ? terima kasih
     
  6. erawanarifn

    erawanarifn Apprentice 1.0

    Messages:
    379
    Likes Received:
    47
    Trophy Points:
    28
    Ini installnya : apt-get install squid / yum install squid atau pakai Webmin/yang lainnya ya?
     
  7. galuh82

    galuh82 Hosting Guru Web Hosting (Company)

    Messages:
    2,514
    Likes Received:
    186
    Trophy Points:
    63
    jangan lupa restart service squidnya, trus sambil dipantau juga access log squidnya

    gut lak ..
     
  8. GriyaHosting

    GriyaHosting Expert 1.0

    Messages:
    966
    Likes Received:
    76
    Trophy Points:
    28
    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
     
    Doel likes this.
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...