All of lore.kernel.org
 help / color / mirror / Atom feed
From: ro0ot <ro0ot@phreaker.net>
To: netfilter@lists.netfilter.org
Subject: Transparent Proxy to a Remote Squid Box
Date: Fri, 19 Nov 2004 23:50:28 +0800	[thread overview]
Message-ID: <419E1644.1030903@phreaker.net> (raw)

I am running the below scripts for "Transparent Proxy to a Remote Squid 
Box": -

$IPTABLES -t nat -A PREROUTING -i $cusif -s ! $squid_box -p tcp --dport 
80 -j DNAT --to $squid_box:3128
$IPTABLES -t nat -A POSTROUTING -o $cusif -s $cus_net -d $squid_box -j 
SNAT --to $cus_ip
$IPTABLES -A FORWARD -s $eastin_i001 -d $squid_box -i $cusif -o $cusif 
-p tcp --dport 3128 -j ACCEPT

If the daemon dies, I need to remove the above three lines.  How can I 
monitor the Squid daemon from the firewall? 

Regards,
ro0ot





             reply	other threads:[~2004-11-19 15:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-19 15:50 ro0ot [this message]
2004-11-19 17:11 ` Transparent Proxy to a Remote Squid Box Jason Opperisano

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=419E1644.1030903@phreaker.net \
    --to=ro0ot@phreaker.net \
    --cc=netfilter@lists.netfilter.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.