From: "Ray Anderson" <rsa@prideindustries.com>
To: 'Joel Newkirk' <netfilter@newkirk.us>
Cc: netfilter@lists.netfilter.org
Subject: RE: Forwarding HTTP question
Date: Sat, 5 Jul 2003 06:43:03 -0700 [thread overview]
Message-ID: <001201c342fb$5b45c730$fb09a8c0@viper11> (raw)
In-Reply-To: <1057382564.2822.22.camel@alpha.newkirk.us>
And don't forget to ALLOW the packets in the first place. Made me crazy the
first time I did that....Put in the FORWARD rule, but no ACCEPT rule.
$IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 80 -j allowed
#HTTP
-=Ray
-----Original Message-----
From: Joel Newkirk [mailto:netfilter@newkirk.us]
Sent: Friday, July 04, 2003 10:23 PM
To: Guilherme Viebig
Cc: *netfilter
Subject: Re: Forwarding HTTP question
On Fri, 2003-07-04 at 09:41, Guilherme Viebig wrote:
> My Firewall has two interfaces
>
> eth0 200.123.234.111
> eth1 192.168.0.1
>
> I have an internal webserver on 192.168.0.33
>
> How can I setup iptables to forward incoming traffic by eth0 to port
80 go
> to 192.168.0.33:80 ?
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to
192.168.0.33
j
prev parent reply other threads:[~2003-07-05 13:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-04 13:41 Forwarding HTTP question Guilherme Viebig
2003-07-04 17:32 ` David Busby
2003-07-05 5:22 ` Joel Newkirk
2003-07-05 13:43 ` Ray Anderson [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='001201c342fb$5b45c730$fb09a8c0@viper11' \
--to=rsa@prideindustries.com \
--cc=netfilter@lists.netfilter.org \
--cc=netfilter@newkirk.us \
/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