Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Jonathan Knight <j.knight@kis.keele.ac.uk>
To: netfilter@vger.kernel.org
Subject: Re: Forwarding a TCP connection request
Date: Sun, 08 Feb 2009 22:17:17 +0000	[thread overview]
Message-ID: <498F59ED.6050403@kis.keele.ac.uk> (raw)
In-Reply-To: <gmmdsv$rgq$1@ger.gmane.org>

Ralf wrote:
> Is this possible to do:
> a TCP connection request to a specific port
> on this machine comes in. 


You can get a similar effect using the "redirect" feature of xinetd.  
The intermediate machine still has to relay the packets to and fro but 
it's transparent as long as the server doesn't do a getpeername() call.

You can stick an "only_from" parameter in as well to restrict who can 
connect to the port.

Jon

      reply	other threads:[~2009-02-08 22:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-08 10:58 Forwarding a TCP connection request Ralf
2009-02-08 22:17 ` Jonathan Knight [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=498F59ED.6050403@kis.keele.ac.uk \
    --to=j.knight@kis.keele.ac.uk \
    --cc=netfilter@vger.kernel.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