Re: Block stupid/annoying sites
On 03-Sep-99 Hwei Sheng TEOH wrote:
>
> Read the IPCHAINS HOWTO. I think you can do something like:
> ipchains -A input -s ad.doubleclick.net -j DENY
> ipchains -A output -d ad.doubleclick.net -j DENY
> You probably want to tailor the above to meet your needs.
> This will block *any* kind of connection to/from that site, although DNS
> lookups will still work. Your browser will probably complain of timeout
> connecting to that site or something. I'm not quite sure about a cleaner
> solution.
That is why it might be better to use Squid and block these sites from
there.
--
Andrew
-----------------------------
GnuPG Public KeyID: 0x48109681
Reply to: