Re: Question on NetCat and Port Forwarding
From: Konstantinos Peletidis (kpeletidis_at_dsl.pipex.spammers.must.go2jail.com)
Date: 06/02/04
- Next message: Security Alert: "SSRT4749 rev.0 HP-UX Java Runtime Environment (JRE) remote DoS"
- Previous message: Patrick Rynhart: "Question on NetCat and Port Forwarding"
- In reply to: Patrick Rynhart: "Question on NetCat and Port Forwarding"
- Next in thread: Patrick Rynhart: "Re: Question on NetCat and Port Forwarding"
- Reply: Patrick Rynhart: "Re: Question on NetCat and Port Forwarding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 2 Jun 2004 14:19:47 +0100
On 2 Jun 2004 00:41:07 -0700
p_rynhart@hotmail.com (Patrick Rynhart) wrote:
> I want to set up a port forward, so that port 1000 is forwarded (via
> 'server') to port 2000 on 'mycomputer'. If 'server' was running sshd,
> I would use the command
>
> ssh server -L 1000:mycomputer:2000
>
> However, server does not have sshd installed. Is it possible to
> acheive this requirement by running netcat on server at user-level ?
>
> If so, how would this be acheived ?
>
> Regards
>
> Patrick
Hi Patrick,
It appears you are looking for a datapipe. Here is one I found in
google:
http://www.bovine.net/~jlawson/coding/datapipe/datapipe.c
Quoting form the above url:
<QUOTE>
* Datapipe - Create a listen socket to pipe connections to another
* machine/port. 'localport' accepts connections on the machine running
* datapipe, which will connect to 'remoteport' on 'remotehost'.
* It will fork itself into the background on non-Windows machines.
</QUOTE>
See if this is any good for you, or search for another datapipe program.
HTH
-- Konstantinos Peletidis Electronic & Computer Engineer
- Next message: Security Alert: "SSRT4749 rev.0 HP-UX Java Runtime Environment (JRE) remote DoS"
- Previous message: Patrick Rynhart: "Question on NetCat and Port Forwarding"
- In reply to: Patrick Rynhart: "Question on NetCat and Port Forwarding"
- Next in thread: Patrick Rynhart: "Re: Question on NetCat and Port Forwarding"
- Reply: Patrick Rynhart: "Re: Question on NetCat and Port Forwarding"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|