hi!
i'm in need to slow down a program which runs /on the server/ and which sends on specific ports on ppp0 until the upload bandwidth saturates. the problem is, i cannot fully control this behaviour at the program level itself, so i have to find a way to limit the used bandwidth afterwards.
my first thougt was CBQ, but this seems to limit the bandwidth only for traffic going /thru/ the server, not coming /from/ it.
so i thought about dropping every second packet on port X with an iptable rule "-m nth --every 2". not fully understanding the mechanisms of the firewall of SME 5.6 yet, i ask if someone could give me a hint where this rule is put best. i thought about somewhere in the PortOpening module which i installed and which opens the respective port in the first place...
regards,
PAT