[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: restricting internet access for some users



On Sun, Mar 11, 2007 at 04:07:54PM -0400, H.S. wrote:
> 
> Hello,
> 
> On a computer connected to a router, which in turn is connected to the 
> internet (more or less constantly), how do I restrict some users from 
> accessing the internet.
> 
> The lan is actually in a small community office. A couple of computers 
> are for the staff, but a third is set aside for a number of public users 
> to use. It is running Ubuntu. I was asked how to restrict internet 
> access from that computer (for example, users should be allowed to 
> connect to the internet only during certain hours of a day) on a user by 
> user basis. I am more familiar with Debian, hence the query here. 
> Apparently, they want the administrator to have free access, but 
> restricted access for other users on that computer.

I have never used it before but you can take a look at the iptables owner match.

http://iptables-tutorial.frozentux.net/iptables-tutorial.html#TABLE.OWNERMATCH

Hope it helps.

-- 
Franck Joncourt
http://www.debian.org
http://smhteam.info/wiki/
GPG server : pgpkeys.mit.edu
Fingerprint : C10E D1D0 EF70 0A2A CACF  9A3C C490 534E 75C0 89FE

Attachment: signature.asc
Description: Digital signature


Reply to: