Hi,
I can remember that I had done the same with iptables using
Code:
iptables -A OUTPUT -m owner --uid-owner <username> -j DROP
Since now I am using CentOS7 and it use firewalld and I don't know that how to block all internet access to specific user using firewall-cmd command.
Thanks in advance and expecting your kind help on this.