ipchains -A input -d some.porn.site.com 80 -p tcp -y -j DENY
 
i'm not quite sure if pwede ang domain name....haven't really tried blocking a site using ipchains
 
 
 
Date: Wed, 13 Nov 2002 17:35:27 +0800 (PHT)
From: eeyan - Systems Admin <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Subject: RE: [plug] iptables
Reply-To: [EMAIL PROTECTED]

Whats the ipchains equivalent of this command?

On Wed, 13 Nov 2002, Jesse Delima wrote:

> when u said selected porn sites, does it mean few porn sites?, let's say about 10 sites.?...
>
> here's one way to block a site using iptables.....
>
> iptables -t nat -A PREROUTING -p tcp --dport 80 -s 192.168.0.0/24 -d pornsite.com -j DROP
>

Reply via email to