From: Joel Newkirk <netfilter@newkirk.us>
To: Guilherme Viebig <guilherme@plannercorretora.com.br>
Cc: *netfilter <netfilter@lists.netfilter.org>
Subject: Re: Forwarding HTTP question
Date: 05 Jul 2003 01:22:45 -0400 [thread overview]
Message-ID: <1057382564.2822.22.camel@alpha.newkirk.us> (raw)
In-Reply-To: <004f01c34231$f1d429f0$6800817d@TESTE>
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
next prev parent reply other threads:[~2003-07-05 5:22 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 [this message]
2003-07-05 13:43 ` Ray Anderson
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=1057382564.2822.22.camel@alpha.newkirk.us \
--to=netfilter@newkirk.us \
--cc=guilherme@plannercorretora.com.br \
--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