I have setup an Ubuntu server with multiple user for remote access. The public internet access is thru wifi. I need to block the public internet access for all user except two users, root and admin
Now I could had used the following command sudo iptables -A OUTPUT -m owner --uid-owner user_you_want_to_block -j REJEC This will block all the outgoing traffic for the user which I cannot do, I need allow all the user to use intranet which is thru the eth0
How should i do this
Nisheeth