freebsd 6.0 personal firewall
igorr at speechpro.com
Fri Apr 7 06:37:10 UTC 2006
On Thu, Apr 06, 2006 at 08:58:08PM -0700, ilyana ramlan wrote:
> 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
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:
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:
You can read about Spam-filtering at:
More information about the freebsd-questions