thanks to all master & friend member in Mikrotik squid Indonesia facebook group

especially =

  • om cespun
  • syaifudin.Jw
  • Efdika Doank
  • Uccok Harahap
  • Teuku Indra Maulana
  • Gin kyiosiro
  • adhi proxy
  • mikrotiker and squid lovers
  • dhani dhanu
  • Chairil fadli
  • Aska Juliadi
  • Dokter Squid indonesia
  • and much more ... sorry for all that can not be mentioned above you who have been a little more helpful, thanks Mikrotik Squid Indonesia Facebook group # squid4 for autoinstall No-tproxy-full-manual-input-in your iternet browser - here I use VirtualBox as a proxy machine - for use debian7 or debian8 in session to install this squid4 Debian7 iso cd debian8 iso cd I use amd64 bit - no tproxy - this is for input manual your web browser - full manual proxy with ssl_bump for tproxy please copy modules in squid4-autoinstall-notproxy/ to the directory /etc/ ( cp modules /etc/ ),then copy also rc.local file to the directory /etc/ ( cp rc.local /etc/ ), edit the contents of the file rc.local on the ip_addressproxy/subnet replace with your_ipaddressproxy/subnet . - before doing the installation is customized in squid.conf for configuration cache_dir on the (cache_dir aufs /cache/cache on squid.conf in this folder) ## adjust to your partition - apt-get install git g++-4.4 -y or g++ for debian8

    Start Installation

    ##already finish installation debian or ubuntu server & webserver start the installation with git clone
    #installasi complete software 
    apt-get update && apt-get upgrade -y
    git clone https://github.com/puji122/squid4-autoinstall-notproxy.git
    cd squid4-autoinstall-notproxy
    chmod +x squid4.sh
    chmod 777 squid4.sh
    ./squid4.sh

    after reboot

    squid -k reconfigure
    /etc/init.d/squid restart
    chown -R nobody /var/lib/squid/ssl_db/
    chown -R proxy:proxy /var/lib/squid/ssl_db/
    tail -f /var/log/squid/access.log

    for mikrotik router setup mangle and ip route for tproxy

    mikrotik setup external proxy with squid :
    / Ip routes
    add gateway = ip proxy
    distance = 1
    scope = 30
    the target scope = 10
    routing_mark = via_squid
    
    /ip firewall mangle
    add chain = prerouting
    dst.address = ! ip proxy / subnet
    protocol = tcp
    any port = 80.443
    in interface = ! proxy
    add action = mark-routing
    new routing mark = via squid

    documentation