Talk:Apache2 Other Bandwidth Limiting
From Gentoo Linux Wiki
Is it possible to limit the speed only to the outside world and not to the LAN (192.168.0.1-255)?
69.81.129.46
Sure, there are two main options:
- If your WAN-side interface is a different device to your LAN-side interface, just specify that one instead of eth0.
- If not, then look into the details of the u32 classifier. It allows the filter to match anything in the IP protocol headers. Currently the u32 classifier is selecting all traffic originating from port 80 to be put in the class that is limited in speed ('HTTP shaping' class). You want an additional rule *before* this one that selects all your LAN-side traffic (based on destination IP address) to be put into the 'REST' class before the other filter gets a chance to stick it into the rate-limited class.
