PDA

Bekijk de volledige versie : How to set traffic limits



microunix
11-09-2008, 23:45
Hi,

I would like to know if it is possible to set Internet traffic limits for each user. Example:

- 192.168.1.2 -> 10GB/month
- 192.168.1.3 -> 20GB/month
- 192.168.1.4 -> 5GB/month
- etc.

Thanks in advance!

wpte
12-09-2008, 15:17
Hi,

I would like to know if it is possible to set Internet traffic limits for each user. Example:

- 192.168.1.2 -> 10GB/month
- 192.168.1.3 -> 20GB/month
- 192.168.1.4 -> 5GB/month
- etc.

Thanks in advance!

maybe this'll help you: http://rami.info/how-tos/iptables-bandwidth-limit-under-linux/
dunno if this will work tho.

microunix
13-09-2008, 16:34
Thanks. I have not tried it yet, but no-one knows an easier way? 'tc' seems be too complicated with all its 'qdisc', 'class' and 'filter' things :rolleyes: