I am looking for long time iptables rule satisfying the following conditions.
Assuming, we have a pool of users (from: --uid owner 100, until: -- uid owner 200)
Our iptables rule:
Code: Alles auswählen
iptables -t filter -A OUTPUT -m owner --uid-owner 100 -j REJECT
Code: Alles auswählen
--uid-owner
Regards.
Mark
I,am afraid, I presented my position in an insufficient way.
Briefly, the idea is to REJECT entire traffic in OUTPUT chain for random user, and change the user every 5 minutes.
With other words, iptables rule:
Code: Alles auswählen
iptables -t filter -A OUTPUT -m owner --uid-owner 100 -j REJECT
Everyone else will enjoy Internet connection, every 5 minutes different (random) user will be discriminated