Squid + Htb + Nat, problem.

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to shape a connection behind a NAT. I have done it already
using tc with htb. Now the problems is that I want to run Squid on the
same
machine, and also control de bandwidth but with htb so it can change
the bandwidth in real time. For the non-squid version of this, I'm using
iptables-mangle to mark packets and tc for the traffic control.

As squid is only for HTTP transactions, I decided to send through it
only the web traffic(excludind FTP and SSL), and limit the downstream with
HTB as in the non-squid version. But the
upstream is always uncontrolled since one only can control the packets
going out of the server and the uploading proccess seem to come from the
NAT-server since is there where squid is installed and squid doesn't make
any NAT at all. Is there a way to mark the packets squid sends
out so tc can control them also? Exists there another solution? Is the
web-cache server a bad solution into the QoS rage?

If something sounds stupid I apologize, since I'm a newbie.


Pity the meek, for they shall inherit the earth.
		-- Don Marquis

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux