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

Altq Help



Hi all,

I'm running Openbsd 3.1, 2x100 NIC (fxp0, fxp1). The server is doing Nat.
fxp0: 63.45.10.10
fxp1: 192.168.2.1


I'm testing limiting outbound ftp, but something is still missing, because I get a 80Kb downloading a 500MB file.




My altq.conf is:

interface fxp0 bandwidth 1M cbq
class cbq fxp0 root NULL pbandwidth 100
class cbq fxp0 def_class root borrow pbandwidth 90 default
class cbq fxp0 bulk def_class borrow pbandwidth 20

class cbq fxp0 tcp bulk borrow pbandwidth 10 red
        filter fxp0 tcp 0 0 0 0 6

class cbq fxp0 ftp root borrow exactbandwidth 10000
        filter fxp0 ftp 0 0 0 20 6


Thank you



Visit your host, monkey.org