Hi everyone!
How do I limit the bandwidth usage of a WWW-server in my local net towards the Internet?
Hi everyone!
How do I limit the bandwidth usage of a WWW-server in my local net towards the Internet?
to clearify my own post here: I only want to throttle the amount of bandwidth used by outgoing traffic, so FROM my Apache server TO the clients on the Internet…
Anyone any suggestions? Which ports do I tag?
(the server is in a NAT-environment)
Hi Evert,
I think the example in the docs is showing your situation quite good - queuing for a server in a NATed (masqueraded) environment:
http://www.mikrotik.com/docs/ros/2.8/root/queue.content#6.54.7.2
The one adjustment you would have to make is the packet marking for the server - in the example, all traffic from the server is mangled. You want to mark only TCP traffic FROM port 80 (and port 443, if using SSL/HTTPS).
Hope that helps…
Will traffic coming FROM my webserver be originating from port 80? Are you sure on that…? ![]()
Yes, I’m sure. At least if you didn’t change your Apache config and configured a different port. The standard port for HTTP servers is TCP port 80 (or 443 for SSL/HTTPS).
Oops… /me hits himself over the head… ![]()
Of course you’re right! ![]()
Somehow I’d gotten the notion in my head that clients contact apache on port 80, and that apache would send back on another, random port. Got no idea where I got that from… ![]()
Thanks for correcting me! ![]()
I think you are right about this one.
solomon.
Right about my notion, or right about hitting myself over the head? ![]()
(I have used Torch to double-check, and it does come from port 80…)
Hi Again,
apache on port 80, client on whatever.
solomon.