Automatic Install Squid4 feat unbound dnscrypt-proxy

2 komentar
squid4

Automatic Install Squid4

*catatan: pada installasi kali ini saya menggunakan virtual box full virtualisasi client-server kalian bisa uji coba dulu dengan mesin virtual untuk menghindari hal2 yang tidak di inginkan
installasi web server dulu apt-get install apache2 php5 php5-mysql mysql-server -y
edit apache2.conf nano /etc/apache2/apache2.conf tambahakan baris
ServerName localhost di baris paling bawah setelah Include sites-enabled/

 
apt-get update && apt-get upgrade -y
and install git
apt-get install git g++-4.4 -y
git clone https://github.com/puji122/squid4-autoinstall.git
cd squid4-autoinstall
chmod +x squid4.sh
./squid4.sh
after reboot 
delete dns-nameserver /etc/network/interfaces or comment #dns-nameserver
/etc/init.d/networking restart
squid -k reconfigure
/etc/init.d/squid restart
/etc/init.d/unbound restart
dig google.com
unbound-control stats tail -16
tail -f /var/log/squid/access.log | ccze

2 komentar :

  1. maaf mas
    setelah saya coba kok gagal ya

    BalasHapus
  2. maaf banget mas baru balas. baru ngecek lagi blogg saya
    plus udah lama ga ngecek proxy hehe maaf .. mungkin ada error di bagian ecap_adapter nya yah ... maaf mungkin file nya corrupt
    saya sudah perbaiki linkny disini :
    https://github.com/puji122/squid4-autoinstall-notproxy
    tapi yang ini tidak tproxy kalau mau tproxy tinggal mas rubah file squid.conf bagian =
    # LISTENING PORT SQUID
    http_port 3127 ssl-bump generate-host-certificates=on dynamic_cert_mem_cache_size=4MB cert=/etc/squid/ssl_certs/squid.crt key=/etc/squid/ssl_certs/squid.key cipher=ECDHE-RSA-RC4-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES128-SHA:DHE-RSA-CAMELLIA128-SHA:AES128-SHA:RC4-SHA:HIGH:!aNULL:!MD5:!ADH
    http_port 3128
    #http_port 3129 tproxy

    diganti jadi
    # LISTENING PORT SQUID
    https_port 3127 tproxy ssl-bump generate-host-certificates=on dynamic_cert_mem_cache_size=4MB cert=/etc/squid/ssl_certs/squid.crt key=/etc/squid/ssl_certs/squid.key cipher=ECDHE-RSA-RC4-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES128-SHA:DHE-RSA-CAMELLIA128-SHA:AES128-SHA:RC4-SHA:HIGH:!aNULL:!MD5:!ADH
    http_port 3128
    http_port 3129 tproxy

    terus copy file modules ke direktori /etc/
    dan terakhir copy paste file rc.localnya ke /etc/
    edit file rc.local rubah ipaddress proxy nya

    BalasHapus