From: "J.P. Fischer" <pfischer@atmit.com>
To: netfilter@lists.netfilter.org
Subject: iptables port80 forward and snat
Date: Fri, 13 Jan 2006 14:12:18 -0500 [thread overview]
Message-ID: <005701c61875$46484720$6c00a8c0@ATMIT> (raw)
I have a RH ES4 box with 3 eth.ports and safesquid installed.
Safesquid listens on port 8080.
Eth0 = 1.1.1.1 (Internet connection)
Eth1 = 2.2.2.2
Eth2 = 192.168.1.1 (needs to be sNATted)
How do I setup iptables to:
1- Snat traffic coming in on eth2
2- port forward http traffic coming in on eth1 to port 8080 (so it will hit
the safesquid running on the box)
Thanks for any help.
Peter.
next reply other threads:[~2006-01-13 19:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-13 19:12 J.P. Fischer [this message]
2006-01-13 21:36 ` iptables port80 forward and snat Rob Sterenborg
-- strict thread matches above, loose matches on Subject: below --
2006-01-14 20:23 Gabriel
2006-01-14 20:48 Gabriel
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='005701c61875$46484720$6c00a8c0@ATMIT' \
--to=pfischer@atmit.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