All of lore.kernel.org
 help / color / mirror / Atom feed
* Redirecting traffic from a interface to antoher
@ 2004-03-23 19:08 Fabiano Bonin
  0 siblings, 0 replies; only message in thread
From: Fabiano Bonin @ 2004-03-23 19:08 UTC (permalink / raw)
  To: netfilter

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.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-23 19:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-23 19:08 Redirecting traffic from a interface to antoher Fabiano Bonin

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.