Date: Fri, 7 Apr 2006 10:36:43 +0400 From: Igor Robul <igorr@speechpro.com> To: freebsd-questions@freebsd.org Subject: Re: freebsd 6.0 personal firewall Message-ID: <20060407063643.GG10293@sysadm.stc> In-Reply-To: <20060407035808.9610.qmail@web36504.mail.mud.yahoo.com> References: <20060407035808.9610.qmail@web36504.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 06, 2006 at 08:58:08PM -0700, ilyana ramlan wrote: > Hello, > 1) How do i block websites by typing their url name Do you wish block access _TO_ sites, or _FROM_ sites. If you wish block access _FROM_ sites, than tell us more about what type of access do you wish to block (Spam email, other). > (eg. www.yahoo.com) using built in freebsd 6.0 > firewall? You can block websites with packet filtering firewall, but better install some proxy server (/usr/ports/www/oops, /usr/ports/www/squid). Then you'll be able not only block access by IP address, but also block access by URL (or part of it). > > 2) Do i have to configure the hosts.allow file to > block websites and must i know their IP address to > block websites? Can i block them by their URL names? hosts.allow is used to control access to services, which are running on your system. So you cannot block access to other hosts with hosts.allow You can read more about FreeBSD firewalls at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html You can find some information about restricting access to websites if you go to google.com and search something like "filtering proxy" You can read how to install additional software on FreeBSD at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html You can read about Spam-filtering at: http://dspam.nuclearelephant.com/ http://spamassassin.apache.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060407063643.GG10293>