netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nathan Whittacre <nathan@stimulustech.com>
To: netfilter@lists.netfilter.org
Subject: Connection Tracking
Date: Mon, 06 Oct 2003 10:46:10 -0700	[thread overview]
Message-ID: <3F81AA62.7050404@stimulustech.com> (raw)

I have the following situation:

A server for what is called directed host sits behind a NAT'd firewall
with a local IP.  I have port 1066 forwarded to that server(10.2.0.1).
The way this protocol works is that the remote computer connects to it
on port 1066, exchanges some data over the existing connection and then
the server initiates a connection back to the client on the client's
port 1066.  This is fine as long as the client has a static, un-NAT'd
internet IP, but the connection is dropped by the server if it does not
get a reply from port 1066.  I have a few client machines on a NAT'd
network that need to connect to this remote server, but with only one
gateway internet IP.  They do not necessarily need to connect at the
same time.  Is there any way to write a connection tracking script that
senses the outbound connection to port 1066 on the remote side and then
DNATs the inbound 1066 to the local IP once the connection is established?

I have a tcpdump of the connection avaiable if that would be of any help.

Thank you,
Nathan Whittacre




             reply	other threads:[~2003-10-06 17:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-06 17:46 Nathan Whittacre [this message]
2003-10-08 16:46 ` Connection Tracking Jim Carter
2003-10-08 17:41   ` Nathan Whittacre
2003-10-08 18:09     ` Jim Carter
  -- strict thread matches above, loose matches on Subject: below --
2012-09-03 16:35 Nicole
2012-09-04 11:30 ` Pablo Neira Ayuso
2003-10-06 17:42 Nathan Whittacre
2003-01-09  6:40 Amit Kumar Gupta
2002-06-21 15:25 Preston Wade
2002-06-21 14:54 Preston Wade
2002-06-21 15:03 ` Ramin Alidousti
2002-06-21 15:05 ` Antony Stone
2002-06-21 15:16 ` Patrick Schaaf

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=3F81AA62.7050404@stimulustech.com \
    --to=nathan@stimulustech.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;
as well as URLs for NNTP newsgroup(s).