Block traffic for a particular user
|Reported by:||dvanmosselbeen||Owned by:||Victor Julien|
The idea is to block some traffic for a particular user. With:
iptables -A OUTPUT -p tcp -m owner --uid-owner <username> -j DROP
we can block do this but it won't work if the system does forwarding. It would be nice to find a way for systems that does forwarding. Apparently
nufw provide a solution (but don't ask me).