Mangle Hit Lusca Windows + HC

Posted on

Mangle Hit Lusca Windows + HC

Nge test Hit Proxy Lusca windows + HC

Conf squid lusca windows dirubah bagian ini..

#storeurl_rewrite_program C:/strawberry/perl/bin/perl.exe C:/squid/etc/storeurl.pl

#storeurl_rewrite_children 2

#storeurl_rewrite_concurrency 99

cache_peer 127.0.0.1 parent 8080 0 round-robin no-query no-digest

#or

#cache_peer 127.0.0.1 parent 8080 0 proxy-only no-query no-digest

never_direct allow all (Khusus ini aku ga ngerti ngefek apa gak) 😀

zph_mode tos

zph_local 0x38

zph_parent 0zph_option 136

Untuk mangle mikrotik nya

add chain=forward action=mark-packet new-packet-mark=HIT-Packet pass=no protocol=tcp src-port=3128,8080 DSCP(TOS)=14

aktifkan DSCP TOS Windows:

Start Registry Editor.Locate the following key:HKEY_LOCAL_MACHINESystemCurrentControlSetServicesTcpipParametersOn the Edit menu, click Add Value.Type DisableUserTOSSetting, click REG_DWORD in the Data Type box, and then click OK.Enter 0 in the prompt box.Quit Registry Editor, and then restart the computer.

Test cache di tempat ku hit nya jalan aktifitas ke arah port 80 tetap terlimit jadi ga nyedot BW sedangkan ke arah 3128 (lusca) dan 8080 (HC) limit disesuaikan RB nya.. kalo pake RB 750 lebih baik dilimit biar ga mledak.. 😀 Jika ada yang belum monggo diskusikan bersama.. (y)

*~ Salam ~*

Leave a Reply

Your email address will not be published. Required fields are marked *