Linux Netfilter discussions
 help / color / mirror / Atom feed
From: xchris <lyra@fastwebnet.it>
To: netfilter@lists.netfilter.org
Cc: Walter Priesnitz Filho <walterp@via-rs.net>
Subject: Re: Blocking Squid Requests
Date: Wed, 7 May 2003 21:27:03 +0200	[thread overview]
Message-ID: <200305072127.03670.lyra@fastwebnet.it> (raw)
In-Reply-To: <001801c31490$fd031670$7107a8c0@maninho>

On Wednesday 07 May 2003 14:05, Walter Priesnitz Filho wrote:
> Hi,
> I have this environment, a subnetwork (192.168.0.0) that access another
> subnetwork (192.168.59.0) and then access the internet. The second lan has
> a proxy server (squid:3128).
> I need to block the requests in th first lan to the squid server to some
> sites. How can I do this?
> I've tried this
> iptables  -A FORWARD -p tcp -m multiport --dport 80,443,3128 -d
> www.someplace.com -j DROP
> but doesn't work.
> Can anybody help-me?

why don't use OUTPUT/INPUT  chain? 
you disable output/input from the lan to your firewall (so squid doesn't get 
requests)

bye
xchris




  reply	other threads:[~2003-05-07 19:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-07 12:05 Blocking Squid Requests Walter Priesnitz Filho
2003-05-07 19:27 ` xchris [this message]
2003-05-08  6:59   ` Ray Leach
2003-05-09  4:13 ` Dharmendra.T

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200305072127.03670.lyra@fastwebnet.it \
    --to=lyra@fastwebnet.it \
    --cc=netfilter@lists.netfilter.org \
    --cc=walterp@via-rs.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox