S
S
svtrimb2019-12-05 16:01:43
System administration
svtrimb, 2019-12-05 16:01:43

Is it possible to limit the speed / block access to an Internet resource when the limit condition is reached?

Hello,
There is an internet gateway with Pfsense. On it, you need to limit some "too addicted" Youtube users. For example, to give specific users 10 "astronomical" hours per month to access Youtube, and after their expiration, block access or severely limit the speed only to Youtube. Or give conditional *n* GB / month for YouTube, and after their expiration also block access to it or cut the speed. How can this be done? Whether such blocking "on a condition" in principle is possible? I found only this
from the nearest similar solution , but here the blocking is not so flexible - just a traffic limit for certain internal ip.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
CityCat4, 2019-12-05
@CityCat4

pfsense - This is freebsd, Freebsd has dummynet.
You can set a proxy and make an output to the log to an external handler to calculate the volume constantly and constantly adjust the blocking rules.

D
Dmitry, 2019-12-05
@Tabletko

Raise a pfsense proxy and restrict traffic to it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question