LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-04-2005, 04:26 PM   #1
i16978
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

Thanks

i16978
 
Old 05-04-2005, 06:01 PM   #2
makuyl
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, 01:19 AM   #3
blair
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.
 
  


Reply


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 01:58 AM
setting time limit on internet exalted Linux - Security 7 07-07-2005 03:53 AM
How do I limit Internet access? jmelgin Linux - Newbie 12 07-06-2005 05:07 PM
Is it possible in Linux to limit internet uses time ikillu Linux - Networking 4 06-01-2005 08:31 AM
Internet access time MauricioTulua Linux - General 1 09-17-2004 03:58 PM


All times are GMT -5. The time now is 04:55 PM.

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