اعلان

  • اخر الأخبار

    شرح تحسين اداء كاش الميكروتك وتخفيف الضغط باستخدام هارد خارجي بالصور

     
    • Configure to save proxy cache on the external drive,

    • Enable Proxy and specify information about yourself,

    • Enable proxy to cache on hard drive by Cache On Disk=yes, set Max. Cache Size=unlimited to use all available hard drive space for proxy cache

    • Proxy uses own DNS to resolve webpages IP addresses, therefore DNS configuration on the router is necessary. Example uses global DNS server addresses, please use local DNS servers addresses to ensure faster DNS resolution time.

    • Proxy is enabled at this point. Additional configuration is necessary for the clients browser, proxy address should be added to configuration settings on the client computer. Add NAT redirect rule to avoid mass configuration of clients browser, redirect rule will forward all clients to the proxy.

    Command Line Configuration

    /store disk format-drive <name_of_the_disk>/store add name=web_proxy_cache type=web-proxy disk=<name_of_the_disk> activate=yes/ip proxy set enabled=yes cache-on-disk=yes max-cache-size=none/ip dns set primary-dns=4.2.2.1 secondary-dns=208.67.222.222/ip firewall nat add chain=dstnat dst-port=80 protocol=tcp action=redirect to-ports=8080Proxy without external drive

    Winbox Configuration


    Let's look on the proxy example, when RouterBOARD does not have external drive, proxy cache is saved to RAM or not saved anywhere.
    • Enable proxy and specify information about yourself,
    • Set cache to be saved to RAM by Cache On Disk=no option. Max. Cache Size=none forces proxy not to cache any files, other values for Max. Cache Size enables proxy caching to disk or RAM,
    • Proxy uses own DNS to resolve webpages IP addresses, therefore DNS configuration on the router is necessary. Example uses global DNS server addresses, please use local DNS servers addresses to ensure faster DNS resolution time.
    • Proxy is enabled at this point. Additional configuration is necessary for the clients browser, proxy address should be added to configuration settings on the client computer. Add NAT redirect rule to avoid mass configuration of clients browser, redirect rule will forward all clients to the proxy.

    ليست هناك تعليقات

    اعلان اعلى الموضوع

    اعلان اسفل الموضوع