LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 10: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, 10: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



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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:35 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
Open Source Consulting | Domain Registration