<global>
    run download upload 
    support mark-on eth0
    stats unit kb/s file none owner root group root mode 644
</global>

<download>
    iface eth1 match dstip 192.168.0.0/24 
    iface eth1 match dstip 192.168.1.0/24 
    section speed 512kB/s 
    section shape 400kB/s
    default low 10kB/s
    default ceil 256kB/s 
    iptables hook POSTROUTING # POSTROUTING is optimal for download mode
    reload 5s
</download>

<upload>
    iface eth0 match srcip 192.168.0.0/24 
    iface eth0 match srcip 192.168.1.0/24 
    section speed 64kB/s 
    section shape 52kB/s
    default low 2kB/s
    default ceil 16kB/s 
    iptables hook PREROUTING # PREROUTING is optimal for upload mode
    reload 2s
</upload>

