All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabiano Bonin <fabiano@personalsoft.com.br>
To: netfilter@lists.netfilter.org
Subject: Redirecting traffic from a interface to antoher
Date: Tue, 23 Mar 2004 16:08:19 -0300	[thread overview]
Message-ID: <40608B23.2040605@personalsoft.com.br> (raw)

I don't know if this is the right place to ask this. If it's not, please 
point me the right place.

I have a sshd daemon running on a server (called SERVER) in my network 
(called INSIDENET).
In another network (called OUTSIDENET) , i have a client which connects 
to SERVER via ssh protocol, oppening a port (5050) on SERVER that 
redirects to some host on OUTSIDENET network, all via SSH protocol.
This way, if a connect to SERVER, port 5050, i will be automatically 
redirected to an specified host in OUTSIDENET.

This is the output of 'netstat -n -a -p | grep 5050', typed in SERVER:
tcp        0      0 127.0.0.1:5050          0.0.0.0:*               
LISTEN      22522/1

Well, ssh protocol open the port 5050 just on the local interface, so i 
can't connect from a host of INSIDENET to this port on i.e. ETH0.

I'd like to know if there is a way to accept connection in the same port 
but in anoter interface (i.e. ETH0) and redirect this traffic to the 
local interface (127.0.0.1)

Thanks.



                 reply	other threads:[~2004-03-23 19:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=40608B23.2040605@personalsoft.com.br \
    --to=fabiano@personalsoft.com.br \
    --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.