Re: [squid-users] Restricting access via ip

From: Antony Stone <Antony@dont-contact.us>
Date: Tue, 18 Nov 2003 00:19:13 +0000

On Tuesday 18 November 2003 12:02 am, Newman Emanouel wrote:

> Hello
>
> I an new to this list and would like some help with the following
>
> I would like to limit users accessing the internet between the hours of
> 11pm 5am but still allow other services like mail to access the net. I have
> all my servers on a specific range and all my users on another range.
>
> What I would like to do is to stop users from accessing between the hours
> of 11pm to 5am and then allow normal access
>
> Can anyone please point me to a site which has detailed instructions on how
> to do this.

If you are using Linux then the built-in firewalling code called netfilter
(iptables) can handle time-specific rules for different protocols such as
http, smtp and pop3. See http://www.netfilter.org for more infomation, and
http://iptables-tutorial.frozentux.net/iptables-tutorial.html for one of the
best tutorials in existence.

Antony.

-- 
The trouble with the French is that they don't have a word for 'entrepreneur'.
 - George W Bush, president of the United States of America
                                                     Please reply to the list;
                                                           please don't CC me.
Received on Mon Nov 17 2003 - 17:20:35 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:21:21 MST