Re: newbie downloading not working

Linux Advanced Routing and Traffic Control

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

 



Paulo Ricardo Bruck wrote:
Hi guys

Finally , after reading a lot of docs from larc/opalsoft/etc, I decided
to start learning some QoS

First of all I'm trying to shape only download from a iptables+squid+qos
machine for 4 machines at LAN ( eth0)

Can anyone help me , cause it is not working properly..


----------------------------------------------------------------- #!/bin/bash

#        128Kbps              192.168.0.1
#       <-----  eth1 firewall   eth0
# internet-adsl-----+squid---------------4 desktops
#       ----->      +QoS                   192.168.0.5
#       450Kbps                                     .11
#                                                   .12
#                                                   .20
#

If you want to shape traffic from the internet to squid then you need to use imq (www.linuximq.net) set in kernel config to hook after prerouting nat. The traffic to squid will still have your internet address not 192.168.0.1.


Andy.
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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