From: Antony Stone <Antony@Soft-Solutions.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: What is missed for port forwarding
Date: Sun, 7 Mar 2004 16:02:25 +0000 [thread overview]
Message-ID: <200403071602.25190.Antony@Soft-Solutions.co.uk> (raw)
In-Reply-To: <20040307154907.GA1978@glorybox.de>
On Sunday 07 March 2004 3:49 pm, Kai Weber wrote:
> * Antony Stone <Antony@Soft-Solutions.co.uk>:
> > Are you testing both SSH/10143 and HTTP/8888 from the same client machine
> > out on the Internet?
>
> Thanks for the tip. It works from outside. I tested only from "inside".
>
> Why does DNAT not work when trying from inside?
See my sig below.
Client (eg 192.168.1.10) connects to firewall on192.168.1.250.
Firewall DNATs the packet and sends it to 192.168.1.2
192.168.1.2 replies to 192.168.1.10, which is on the local network, therefore
reply doesn't go through the firewall, therefore no reverse NAT takes place.
Result: 192.168.1.10 sent a packet to 192.168.1.250 and got a reply from
192.168.1.2.
Confused unhappy client.
See also http://www.netfilter.org/documentation/HOWTO/NAT-HOWTO-10.html
Regards,
Antony.
--
90% of networking problems are routing problems.
9 of the remaining 10% are routing problems in the other direction.
The remaining 1% might be something else, but check the routing anyway.
Please reply to the list;
please don't CC me.
prev parent reply other threads:[~2004-03-07 16:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-06 18:36 What is missed for port forwarding Kai Weber
2004-03-06 18:47 ` Antony Stone
2004-03-07 9:40 ` Kai Weber
2004-03-07 9:53 ` Antony Stone
2004-03-07 15:49 ` Kai Weber
2004-03-07 16:02 ` Antony Stone [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=200403071602.25190.Antony@Soft-Solutions.co.uk \
--to=antony@soft-solutions.co.uk \
--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