All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: netfilter@lists.netfilter.org
Subject: Re: port forwarding through localhost
Date: Fri, 26 Jan 2007 23:50:23 +0100	[thread overview]
Message-ID: <45BA85AF.5010907@plouf.fr.eu.org> (raw)
In-Reply-To: <000301c74199$7db871f0$0d01a8c0@Mobi>

Andy B. a écrit :
> Sorry about the "3333", it was a typo. Of course I meant 3306.
> 
> My rules are working when we are talking about the external interfaces
> (eth0), and the SQL Server is responding when talking directly to 10.0.0.100

You didn't say what is the kernel version. If it is >= 2.6.11, you're stuck.

As I suggested to someone else having the same problem as you, instead 
of using a DNAT rule you may use a TCP "proxy" such as stone 
(<http://www.gcd.org/sengoku/stone/>, supports UDP too) or 6tunnel 
(<http://toxygen.net/6tunnel/>, originally designed to relay connections 
between IPv6 and IPv4 hosts but works between IPv4 hosts too) which 
listens on the local port 3306 and relays the local connexions to the 
remote SQL server.


  reply	other threads:[~2007-01-26 22:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-26 21:56 port forwarding through localhost Andy B.
2007-01-26 22:18 ` Pascal Hambourg
2007-01-26 22:29   ` Andy B.
2007-01-26 22:50     ` Pascal Hambourg [this message]
2007-01-26 22:55       ` Andy B.
2007-01-26 23:09         ` Jan Engelhardt
2007-01-30 19:54         ` Michael P. Brininstool
2007-01-31  9:09           ` Andy B.

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=45BA85AF.5010907@plouf.fr.eu.org \
    --to=pascal.mail@plouf.fr.eu.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.