kyzzar Posted February 9, 2007 Report Share Posted February 9, 2007 Hello All, Goodmorning... I have Mnadriva2007 in my office and I setup ICS (Internet Connection Sharing) using mandriva2007 and my internet connection is working properly. I Installed Bind, DHCP, and Iptables... My question is How can i block other URL's like yahoo.com or pornosite...because other PC's browsing any website. Please anyone can guide me... Thank you Kyzzar Quote Link to comment Share on other sites More sharing options...
daniewicz Posted February 9, 2007 Report Share Posted February 9, 2007 Are you familiar with a host file? This file (/etc/hosts) can be used to block sites. A sample piece of my hosts file looks like this: 127.0.0.1 localhost 127.0.0.1 007arcadegames.com 127.0.0.1 101order.com This piece would block 007arcadegames.com and 101order.com. You can make the file as long as you like to block as many sites as you like. More information can be found here: http://pgl.yoyo.org/adservers/ Quote Link to comment Share on other sites More sharing options...
kyzzar Posted February 9, 2007 Author Report Share Posted February 9, 2007 Hello, I think that is for windows yes i know that and i never try to modify it...how about linux? is there any way to to block the URL... thanks kyzzar Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted February 9, 2007 Report Share Posted February 9, 2007 Alternative is to use squid proxy with dansguardian. All the browsers should be configured to use the squid proxy, and dansguardian is linked with squid to block porn sites, etc, etc, etc. Quote Link to comment Share on other sites More sharing options...
neddie Posted February 9, 2007 Report Share Posted February 9, 2007 I think that is for windows yes i know that and i never try to modify it...how about linux? is there any way to to block the URL...Read what daniewicz said again - he's talking about Linux! It's the same idea, just that the file lives in a slightly different place (as daniewicz says, the file is /etc/hosts). Quote Link to comment Share on other sites More sharing options...
kyzzar Posted February 10, 2007 Author Report Share Posted February 10, 2007 I think that is for windows yes i know that and i never try to modify it...how about linux? is there any way to to block the URL...Read what daniewicz said again - he's talking about Linux! It's the same idea, just that the file lives in a slightly different place (as daniewicz says, the file is /etc/hosts). Hello Goodafternoon okey i'll do that first, thanks everyone... kyzzar Quote Link to comment Share on other sites More sharing options...
pindakoe Posted February 10, 2007 Report Share Posted February 10, 2007 If you want true blocking than dansguardian is your man -- not only uses lists of blocked urls & domains (which you can get from a couple of sources), but can also block on content. Using squid as caching proxy will use your internet connection somewhat more conomoical (but do not expect miracles from it; I save ~10% of bytes by using a 256 Mb proxy). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.