Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I used the method off the command line to block certain sites but in a medium to large domain I cant input 1000 websites for every user. So what software or hardware device do yall reconmmend me to use to filter out unneeded websites for my domain!
Well personally I use a filtering proxy using dansguardian with antivirus. http://dansguardian.org. You could make the proxy transparent and that would force all machines to route web traffic through that proxy.
I use dnsmasq only as a caching name server for my personal computer, but it has options like the following:
Code:
# Add domains which you want to force to an IP address here.
# The example below send any host in doubleclick.net to a local
# webserver.
#address=/doubleclick.net/127.0.0.1
Quote:
Dnsmasq is a lightweight, easy to configure DNS forwarder and DHCP server. It is designed to provide DNS and (optionally) DHCP to a small network. It can serve the names of local machines which are not in the global DNS. The DHCP server integrates with the DNS server and allows machines with DHCP-allocated addresses to appear in the DNS with names configured either in each host or in a central configuration file. Dnsmasq supports static and dynamic DHCP leases and BOOTP/TFTP for network booting of diskless machines.
I used the method off the command line to block certain sites but in a medium to large domain I cant input 1000 websites for every user. So what software or hardware device do yall reconmmend me to use to filter out unneeded websites for my domain!
can be setup as a transparent bridge, so you can insert it between your network and your firewall, without changing any of your other network settings.
If the goal is to prevent your users from being redirected to a malicious site, you can black-hole a valid host name within your companies DNS server. Sounds like what you started to do at the host level. There are sites that maintain lists of these domain names that can be resolved to either 127.0.0.1 or a internal virtual domain name with a page that explains the site requested is blocked.
This method is not suitable if your goal is to prevent anyone from accessing say Twitter, as this method is easily circumvented by pointing the work station to an external DNS server.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.