HANDY CACHE PROXY MENGGUNAKAN MIKROTIK

Skrip agar Handy Cache bisa dipakai bersama dalam satu jaringan yang menggunakan MikroTik (transparent)
proxy-server
/ip proxy
set always-from-cache=no cache-administrator=SigantengKalem cache-hit-dscp=4 cache-on-disk=no enabled=yes max-cache-size=none max-client-connections=600 \
max-fresh-time=3d max-server-connections=600 parent-proxy=192.168.5.2 parent-proxy-port=3128 port=8080 serialize-connections=no src-address=0.0.0.0
/ip fi nat
add action=masquerade chain=srcnat comment=”Local Network” disabled=no src-address=192.168.0.0/24
add action=masquerade chain=srcnat comment=”Handy Cache Network” disabled=no out-interface=pppoe-out1 src-address=192.168.186.0/24
add action=redirect chain=dstnat comment=”Redirect to MikroTik Web Proxy” disabled=no dst-port=80 protocol=tcp src-address=192.168.0.0/24 to-ports=8080
Keterangan:
IP Handy Cache : 192.168.186.2/24
IP MikroTik : 192.168.0.1/24
Port Handy Cache : 3128
Port Internal MikroTik Web Proxy : 8080
Previous
Next Post »