From: Jason Opperisano <opie@817west.com>
To: netfilter@lists.netfilter.org
Subject: Re: configure firewall & NAT & cache with each other
Date: Mon, 31 Jan 2005 10:54:14 -0500 [thread overview]
Message-ID: <20050131155414.GA24804@bender.817west.com> (raw)
In-Reply-To: <20050130041539.25496.qmail@web51905.mail.yahoo.com>
On Sat, Jan 29, 2005 at 08:15:39PM -0800, Alireza Yazdani wrote:
>
> Hello all,
>
> I have 2 box for cache, bandwidth manager, firewall, NAT .
>
> one box is cache server(squid) only. and another box is bandwidth manager, firewall, NAT server.
>
> I haven't any rule on my squid box. the default gateway of my users is my firewall box. my firewall box has 2 ethernet(user side and internet side).
>
> ip of firewall box is :
>
> iptables_box_ILAN=172.16.5.5 (user side)(eth0)
>
> iptables_box_WLAN=212.213.38.100 (internet side)(eth1)
>
> ip of cache box is :
>
> squid_box=172.16.5.6
>
> the default gateway of cache box is firewall box
>
> I use of this rule for NAT :
>
> iptables -t nat -A POSTROUTING -s 172.16.5.0/24 -o eth1 -j SNAT --to 212.213.38.100
>
> now I want redirect the request on port 80 to cache box :
>
> local_network=172.16.5.0/24
>
> iptables_box_ILAN=172.16.5.5
>
> iptables_box_WLAN=212.213.38.100
<-- snip -->
http://www.squid-cache.org/WCCP-support/Linux/
-j
--
"Well, I'm not calling you a liar, but... I can't think of a way to
finish that sentence."
--The Simpsons
prev parent reply other threads:[~2005-01-31 15:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-30 4:15 configure firewall & NAT & cache with each other Alireza Yazdani
2005-01-30 18:03 ` configure firewall & NAT & cache with each other (nfcan: addressed to exclusive sender for this address) Jim Laurino
2005-01-31 1:24 ` Jim Laurino
2005-01-31 15:54 ` Jason Opperisano [this message]
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=20050131155414.GA24804@bender.817west.com \
--to=opie@817west.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox