Date: Thu, 17 Jun 2010 22:47:21 +0200 From: Bernt Hansson <bernt@bah.homeip.net> To: Valerian Galeru <valerian_ro@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD router (IPFW-based): how to block an URL (all IPs of an A-like HOSTNAME) Message-ID: <4C1A89D9.6040104@bah.homeip.net> In-Reply-To: <939113.8942.qm@web30705.mail.mud.yahoo.com> References: <939113.8942.qm@web30705.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Valerian Galeru said the following on 2010-06-17 22:01: > Hello, > > Does anyone have any ideas how to block all requests using an IPFW-based router > (FreeBSD 6.4) to and from a HOSTNAME (which has more DNS A entries) or better, from any *.HOSTNAME.COM ???? Do a whois hostname.com taking note of their ip-address range. Then, for ipf, put this in your rules file. ### EXAMPLE ### block in quick on fxp0 from 192.168.0.0/16 to any block out quick on fxp0 from any to 192.168.0.0/16
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C1A89D9.6040104>