LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 11-24-2004, 11:42 AM   #1
mcgrath
LQ Newbie
 
Registered: Nov 2004
Location: Cincinnati
Distribution: Redhat 9.0
Posts: 2

Rep: Reputation: 0
Question allow certain sites and block rest all of them


Hello,


I need a mechanism to allow certain sites and block rest all of them. We have linux redhat 9.0 and need to do it on the main gateway computer instead of programming it on each individual computer. I dont want to install any software so is there any way to do it???? Thanks
 
Old 11-24-2004, 11:53 AM   #2
pycoucou
Member
 
Registered: Apr 2004
Location: Edinburgh
Posts: 78

Rep: Reputation: 15
Your question lacks of details neverheless, I think that two mechanisms should to the trick:
- /etc/host.allow and /etc/host.deny is checked by inetd to know is the host is allowed
- iptables: actual firewall can block and log remote computers.

Hoping it helps.

PY
 
  


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
block some sites nkutty Linux - Security 1 10-03-2005 05:15 AM
How to BLOCK SLEEZE SITES? saugato Linux - Security 3 02-11-2005 09:39 PM
Looking to block out certain webb sites HenchmenResourc Suse/Novell 1 12-02-2004 09:13 AM
DESPERATE : Iptables , permit know MAC , block rest. ranjan303 Linux - Networking 3 12-14-2003 10:10 AM
how to block sites with squid.conf boakiba Linux - Networking 1 08-11-2003 06:45 AM


All times are GMT -5. The time now is 02:21 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration