This might be a stupid question...
Ted Fines
fines@Macalester.edu
Thu, 14 Mar 2002 16:00:47 -0600
The OUTPUT chain only deals with packets originating from the firewall
itself. Your rule is fine, but you want to add it to the FORWARD chain
instead, which deals with packets going to/from your network to/from the
Internet:
iptables -A FORWARD -o ppp0 -d 63.211.210.20 -j DROP
Good luck,
Ted Fines
Macalester College
--On Thursday, March 14, 2002 2:37 PM -0500 Ryan Clarke
<ryan.clarke@verizon.net> wrote:rr
>
> Alright guys, this might be a stupid question.
>
> I just transitioned from IPCHAINS to IPTABLES and I'm trying to ban the
> computers in my network from reaching a webpage (ads.x10.com....the hated
> X10 ads!). The command I'm trying to use is as follows:
> iptables -A OUTPUT -o ppp0 -d 63.211.210.20 -j DROP
>
> It executes fine, HOWEVER I can still get to that webpage. Any help?
>
> Thanks a lot.
>
> Ryan Clarke
> sniper@wpi.edu