0
I have a router running Ubuntu Linux. It has two network interfaces: p3p1
for WAN, and br0
for LAN (this is a bridge). On the LAN there is a PC with ip 192.168.3.7
.
How do I limit all traffic coming from 192.168.3.7
and destined for the WAN, to 100kbps?
Maybe you can find something interesting in this link and in this one.
– Hastur – 2016-01-27T17:04:17.727One question is, does this user have a static IP? If you block them by IP, but if their IP changes via DHCP your method will no longer work. You may want to look into a way of trying to limit them by MAC address. – DrZoo – 2016-01-27T20:01:17.890
The IP is static; I set it in the dhcp server's configuration file, from the MAC address. – Fela Maslen – 2016-01-27T21:23:41.520