LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   allow certain sites and block rest all of them (https://www.linuxquestions.org/questions/programming-9/allow-certain-sites-and-block-rest-all-of-them-258809/)

mcgrath 11-24-2004 10:42 AM

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

pycoucou 11-24-2004 10:53 AM

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


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