From: xchris <lyra@fastwebnet.it>
To: dhiraj.2.bhuyan@bt.com, netfilter@lists.netfilter.org
Subject: Re: redirection
Date: Wed, 9 Apr 2003 11:13:48 +0200 [thread overview]
Message-ID: <200304091113.48665.lyra@fastwebnet.it> (raw)
In-Reply-To: <7497DCA1C240C042B28F6657ADFD8E09268773@i2km11-ukbr.domain1.systemhost.net>
On Wednesday 09 April 2003 10:40 am, you wrote:
> You do infact need DNAT and not SNAT
>
> iptables -t nat -A PREROUTING -p tcp -m tcp --dport 80 -j DNAT
> --to-destination x.y.z.2:80
>
> this should work.
I tried but all connections go in timeout.
I first flushed every chain,set default policy everywhere,and then added DNAT
rule...
no result...
The strange thing is :
if i DNAT on another interface everything is ok.
if i DNAT through the incoming connection interface... it fails.
strange...
I think i miss something..
Thank you
Chris
next prev parent reply other threads:[~2003-04-09 9:13 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-09 8:40 redirection dhiraj.2.bhuyan
2003-04-09 9:13 ` xchris [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-02-27 12:08 Redirection Sasa Stupar
2004-02-27 12:19 ` Redirection Antony Stone
[not found] ` <008b01c3fd2b$f8910320$2a245cc2@cea05>
2004-02-27 12:41 ` Redirection Sasa Stupar
2004-02-27 12:46 ` Redirection Sasa Stupar
2003-04-09 13:10 redirection dhiraj.2.bhuyan
2003-04-09 13:34 ` redirection Christian Cernuschi
2003-04-09 13:38 ` redirection xchris
2003-04-09 10:15 Redirection Simone Sestini
2003-04-09 10:03 redirection dhiraj.2.bhuyan
2003-04-09 10:25 ` redirection xchris
2003-04-08 18:31 redirection xchris
2003-04-08 18:44 ` redirection Eric Joe
2003-04-08 19:40 ` redirection xchris
2003-04-08 22:49 ` redirection Eric Joe
2003-04-08 23:17 ` redirection xchris
2003-04-08 16:10 redirection Christian Cernuschi
2003-04-10 17:45 ` redirection Eric Joe
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=200304091113.48665.lyra@fastwebnet.it \
--to=lyra@fastwebnet.it \
--cc=dhiraj.2.bhuyan@bt.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