Re: Question on NetCat and Port Forwarding

From: Konstantinos Peletidis (kpeletidis_at_dsl.pipex.spammers.must.go2jail.com)
Date: 06/02/04


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


Relevant Pages

  • Re: W2k3 TS licensing problem
    ... "Patrick LE ROCH" a écrit dans le message de ... > Are the Terminal Server CAL's - per user? ... > I have the following message in the event log of the license server "ID ...
    (microsoft.public.windows.terminal_services)
  • Re: Immediate Logoff
    ... Thank you Patrick. ... > If you call Microsoft PSS with a problem and it is fixed by them creating a new hotfix then you will NOT be charged. ... > Microsoft MVP - Terminal Server ... >> Microsoft MVP - Terminal Server ...
    (microsoft.public.windows.terminal_services)
  • Re: Same Email Domain 2 Sites
    ... The problem, Patrick, is that you want failover, so that means the same mailboxes on both machines, and that is a trust relationship. ... We've also realized that since we don't have full control over this server ... > Exchange does over the VPN, then the receiving email server would hold> any ...
    (microsoft.public.windows.server.sbs)
  • Re: Adding a node to a one-node functional cluster
    ... Patrick, I'm wondering if you got your second node setup correctly, and what ... Server with a SCSI attached storage array. ... > On a cluster, the SQL service account, the cluster service account, and the ...
    (microsoft.public.sqlserver.clustering)
  • RE: Poor / Sporadic T/S performance in W2K
    ... Patrick - this seems to be the same problem I'm having. ... Do I have to pay for this hotfix? ... >Microsoft MVP - Terminal Server ... several thousand spyware / adware / scumware files & ...
    (microsoft.public.windows.terminal_services)