Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-04-2005, 03:26 PM   #1
LQ Newbie
Registered: May 2005
Posts: 1

Rep: Reputation: 0
Limit internet access for certain hosts during certain time

Hi all!

A silly question but was hoping that someone can point me in the direction of an answer. I would like to limit some hosts in internet usage during the business hours. The set up is as follows - network of about 20 machines connecting trough Debian box. 17 machines should not have internet access during the business hours, remaining should, but all have to be able to connect to the mail server.

Please Help


Old 05-04-2005, 05:01 PM   #2
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
A sort of a workaround would be to use to different iptables scripts and switching between them with cron jobs running at certain times.
Hmm, must be a better way to do this, but it should work.
Old 05-05-2005, 12:19 AM   #3
LQ Newbie
Registered: Apr 2005
Posts: 28

Rep: Reputation: 15
If the devices do not require ANY network access, then you can use access control lists. If they still need LAN access, e.g .printers, then I assume you still will want the boxes to have network access and just want to lock down HTTP surfing. In that case you could set up a proxy server. I believe you'd need a cron job to start and stop the proxy server at the appropriate times. This would probably be easier to configure on your internet gateway than on 17 different PCs.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how can I limit time access with pam hichem Linux - Security 4 11-17-2005 12:58 AM
setting time limit on internet exalted Linux - Security 7 07-07-2005 02:53 AM
How do I limit Internet access? jmelgin Linux - Newbie 12 07-06-2005 04:07 PM
Is it possible in Linux to limit internet uses time ikillu Linux - Networking 4 06-01-2005 07:31 AM
Internet access time MauricioTulua Linux - General 1 09-17-2004 02:58 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration