Possible Duplicate:
How to restrict internet access for a particular user on the lan using iptables in Linux
I have 4 accounts on my computer (I have root access). I want to block off ALL internet access to one of the users. My computer connects to the internet primarily through Wi-Fi. The user should not be able to connect, surf the internet or even use the local network. I found a solution here but I'm not sure that would work for me. (Plus I need something simpler)
I am using Ubuntu 10.04
How do I do this without much tweaking? (Basically, I want a quick and simple solution)
I tried reading about Iptables but its beyond my knowledge.
--uid-owner
value to match the user you want to block and youre done. Wanting something simpler doesnt make the answer wrong (plus, you dont get much simpler than that). – phemmer Feb 06 '12 at 05:12firewall-config
forfirewalld
. Check this answer on the duplicate question. – Scrooge McDuck Nov 11 '21 at 03:57