All of lore.kernel.org
 help / color / mirror / Atom feed
From: "jan_bar" <herkule9s@yahoo.com>
To: netfilter@lists.netfilter.org
Subject: Re: Connect to localhost bound port from outside?
Date: Wed, 31 Jan 2007 10:43:17 +0100	[thread overview]
Message-ID: <eppobl$dem$1@sea.gmane.org> (raw)
In-Reply-To: 1170234205.4464.0.camel@localhost.localdomain

Thank you, but REDIRECT works fine only if the server listens on 0.0.0.0,
when the server listens on 127.0.0.1, it doesn't work.

kernel:  2.6.9-gentoo-r14
iptables: iptables-1.3.5-r4

Jan

-- 
Jan Bares
http://jan.vegetband.cz


"??????????? ??????" <casper@meteor.dp.ua> wrote in message
news:1170234205.4464.0.camel@localhost.localdomain...
> В СOд, 31/01/2007 в 08:33 +0100, jan_bar ?иUAт:
> > Hi,
> >
> > I want to connect from my VPN interface to the port that is bound to
> > (listening on) localhost. The server listens only on localhost, so it is
not
> > visible to outside world and it seems that I cannot use iptables to
forward
> > outside traffice from VPN to that port.
>
> -j REDIRECT should do the job.
>
> -- 
> ?IкIтиIAнкI КIстик <casper@meteor.dp.ua>
>
>
>





  reply	other threads:[~2007-01-31  9:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-31  7:33 Connect to localhost bound port from outside? jan_bar
2007-01-31  9:03 ` Покотиленко Костик
2007-01-31  9:43   ` jan_bar [this message]
2007-01-31 10:39     ` Martijn Lievaart
     [not found]     ` <46560.2001:888:19e1::53.1170239989.squirrel@dexter>
2007-01-31 11:52       ` Martijn Lievaart
2007-01-31 10:13 ` Pascal Hambourg
2007-01-31 15:36   ` Grant Taylor
2007-01-31 16:03     ` Pascal Hambourg
2007-01-31 18:31       ` Grant Taylor
2007-01-31 23:01         ` Pascal Hambourg
2007-01-31 23:57           ` Grant Taylor
2007-02-06 19:13     ` R. DuFresne
2007-02-06 19:38       ` Jan Engelhardt

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='eppobl$dem$1@sea.gmane.org' \
    --to=herkule9s@yahoo.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 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.