How To Limit Download Size

Table of contents:

How To Limit Download Size
How To Limit Download Size

Video: How To Limit Download Size

Video: How To Limit Download Size
Video: How to Limit Internet Download / Upload Speed Tutorial 2024, November
Anonim

You can solve this problem using various programs or settings in the firewall. Use options for both a single user and a group of users. Limits can be configured based on the needs of all users on a particular network.

How to limit download size
How to limit download size

Necessary

  • - PC;
  • - the Internet;
  • - Squid proxy server;
  • - HandyCache proxy server;
  • - firewall.

Instructions

Step 1

You can rationally use the Internet connection using the Squid proxy server. This is a module that handles user DNC requests, acts as a download manager. The utility is able to save frequently requested data in the cache, and supports Internet access control for individual users. You can download different versions of the module here:

Step 2

Install the downloaded file on the system and allow access to the network. Configure the parameters http_access, http_port, acl. Deny access to certain sites, addresses using the http_access parameter. Just add the address range you want to the Acl list.

Step 3

The Squid control system is very flexible and extensive, suitable for various operating systems. It consists of blocks with values and access addresses using the commands allow or deny. The Acl view is as follows: name item list. More detailed settings of this program can be studied here:

Step 4

The ability to limit downloads appeared in the caching proxy servers HandyCache RC1 1.0.0.64, HandyCache RC2 1.0.0.103. By installing the module, you will save yourself unnecessary hassle if you work on different browsers. Once loaded, web pages will remain available for viewing in different browsers, as they will be saved in the module's cache. The NS interface is intuitive, any more or less literate PC user can manage the settings.

Step 5

To evaluate HandyCache at work, download it: https://handycache.ru/component/option, com_remository / Itemid, 2 / func, select / id, 2 /, install and tell the browser to use HC by default. The settings set in this way are suitable in most cases, and for using more subtle values, study:

Step 6

Create a rule on the firewall. You can also limit the size of the downloaded file in the following way: src 0.0.0.0 maska 0.0.0.0 port # dst 10.0.0.0 (addresses in the local network) maska 255.0.0.0 port ALL TCP / IP protocol "shaper" action max. speed 60 (kb / s) session size 5242880 (5 mb)

Step 7

This limitation is necessary to prevent network congestion. The setting allows you to optimally redistribute traffic between users of the local Internet network.

Recommended: