R
R
Ruslan Leviev2011-07-14 22:21:40
Squid
Ruslan Leviev, 2011-07-14 22:21:40

Kill torrents in LAN?

There is a rather trivial problem. A residential area with unlimited home Internet from Beeline (wired) and which is distributed by a router via Wi-Fi. A dozen and a half people use this, and every evening everyone starts having problems: someone turns on the torrent and everyone is left without speed.
If the torrent did not generate a random port for connection, then I would simply block this port in the router. But alas, the port is always random.
In theory, the way out is to buy a router that has Linux, put Squid there and strictly divide the speed equally between everyone. Can you recommend any router that will be cheaper at the same time, and there will be less hemorrhoids in terms of killing torrents like this? Or do you know other ways out of the situation?
So far I have a TRENDnet TEW-432BRP router

Answer the question

In order to leave comments, you need to log in

13 answer(s)
V
VBart, 2011-07-15
@VBart

You can block all ports above 1024 or even 512. This will most likely stop inexperienced p2p users.
You can generally allow only standard ports of popular protocols.

P
Paulskit, 2011-07-14
@Paulskit

Shaping each client individually is the most reasonable way out. Not sure if your router can do this. From cheap and relatively hassle-free, I can recommend Mikrotik.

O
osby, 2011-07-14
@osby

What's wrong with choosing a router? Any computer with an ubuntu server on board will do, as long as it makes less noise if it is in a residential area. You can probably kill p2p completely only by analyzing traffic, but I don’t know such solutions. The easiest way is to limit the number of simultaneous connections.

V
Vitaly Peretyatko, 2011-07-15
@viperet

It is almost impossible to kill torrent traffic. You can only close access to popular trackers.
In general, solve the problem radically, put an old computer with linux somewhere in a secluded place, set up a shaper on it (yes, what you need is done by a shaper and by no means a squid) and you will be happy. At one time I wrote an article on setting up - habrahabr.ru/blogs/linux/60095/ has been working for me for about 5 years.

A
atomlib, 2011-07-15
@atomlib

I don’t have exact instructions, but advice: try to search Google for “block bittorrent traffic” and “block p2p traffic”.

A
Alexander, 2011-07-15
@ncix

No, banning torrents is completely evil. Now almost all routers on Linux work. Here, they write something about squid on dd-wrt.
PS: do you resell the Internet to these 15 people? Are you cheating Beeline?

S
srka, 2011-07-15
@srka

turn off UPNP, close the ports that were written above, it can block access to various popular torrent trackers, not sites ... you probably won’t do anything more on your piece of iron ...

R
rPman, 2011-07-16
@rPman

No need to PROHIBITE! give the people a reasonable alternative first!
How do I understand your server (if it doesn’t exist, it’s better to put any garbage, at least on mini-itx from 1.2r board + memory + PSU + case even from cardboard)?
Install a torrent client on the server and give people access to their webmorde! like there are such to rtorrent that even multi-user access with restrictions provides, in extreme cases this is the lesser of the evils if everyone sees and steers the general list of torrents.

P
Puma Thailand, 2011-07-15
@opium

Well, find a person who turns on torrents and turn it off forever, after the second turn off everyone will forget what torrents are.

R
Roman Misyurev, 2011-07-15
@Sudo

Have you ever tried just talking to users? Maybe they don't even suspect that their torrents are making a mess for everyone? If you tried it and it didn’t help, then I think that the cheapest and most effective method from p2p traffic is to hit the villain (s) in a tambourine! Honestly.

P
pietrovich, 2011-07-15
@pietrovich

Emnip in ADSL modems from zyxel and zte met in the "block p2p" settings ... which, most likely, cuts by the number of open connections, because. this is the easiest way to identify active torrent downloaders. By the way, you can try to disable UPnP and then your “client” will turn from a seeder into a leecher, at least the outgoing channel will not be clogged. Well, monitor the number of connections, so you quickly find out who "beat the tambourine".

0
074909, 2011-07-20
@074909

Does the router know how to prioritize traffic by destination port?
Specify the highest priority for ports 53 80 443 25 110, and that's it. And "the Internet does not slow down", and torrents work.
PS 53 80 443 25 110 is dns http(s) smtp/pop3, if so

I
I.CaR Soft, 2021-06-29
@I_CaR

I don't understand why block torrents when you can control traffic. After all, there is software. Put no higher than so many and that's it.
The ISA server seemed to be able to do that, I don’t remember exactly, in the mid-2000s it was an administrator. More like T-meter comes to mind. In general, there is software for sure. Naturally, there must be an Internet server. Or, I think there is an implementation on routers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question