Re: Restricting Internet Access
On Sunday 18 October 2009 18:41:09 David Baron wrote:
> As undemocratic at it seems, sometimes it is necessary from some logins not
> to be able to access internet browsing and such.
>
> How might one set this up?
>
The following command was suggested on a site sporting a similar thread:
iptables -A OUTPUT -o ethX -m owner --uid-owner username -j DROP
Trying this, I get
iptables: No chain/target/match by that name.
There is certainly such a chain OUTPUT.
1. How can I get this to work?
2. Where would I do this? In a ip_up.d script?
Reply to: