🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.software.tools
Article #76

How to forward a connection from 1 port to another?

#76
From: news.ust.hk
Date: Wed, 26 Mar 2003 19:30
7 lines
2307 bytes
Does anybody know how to map a port in a computer to another(for example,
the port of remote desktop is 3389 by default, I would like to create a
program that can forward all message from 8080 to 3389, so that I can use my
remote desktop connection by port 8080, no matter 3389 is banned), is it
need Hook on the windows procedure? or create a service like thread to map
the ports? is there any sample code(in VC, or if any, in VB)? Thanks for
anyone who concern!!!!
Technical Details
Message-ID: <b5sv4t$qbt$1@news.ust.hk>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsgate.cuhk.edu.hk!newsfeeder.ust.hk!news.ust.hk!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9a59,aa531f70d4e958b6,start
X-Google-Attributes: gidf9a59,public
X-Google-Thread: fa91f,aa531f70d4e958b6,start
X-Google-Attributes: gidfa91f,public
X-Google-Thread: f72d4,aa531f70d4e958b6,start
X-Google-Attributes: gidf72d4,public
X-Google-Thread: 109fba,aa531f70d4e958b6,start
X-Google-Attributes: gid109fba,public
X-Google-Thread: faf35,aa531f70d4e958b6,start
X-Google-Attributes: gidfaf35,public
X-Google-Thread: 113dfb,aa531f70d4e958b6,start
X-Google-Attributes: gid113dfb,public
X-Google-Thread: 108717,aa531f70d4e958b6,start
X-Google-Attributes: gid108717,public
X-Google-Thread: 108a34,aa531f70d4e958b6,start
X-Google-Attributes: gid108a34,public
X-Google-ArrivalTime: 2003-03-26 15:12:05 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsgate.cuhk.edu.hk!newsfeeder.ust.hk!news.ust.hk!not-for-mail
From: "news.ust.hk" <maxlaw@sinaman.com>
Newsgroups: alt.comp.software.tools,chinese.comp.software,comp.lang.c++,comp.os.ms-windows.networking.misc,comp.os.ms-windows.programmer.networks,comp.os.ms-windows.programmer.win32,comp.programming,hk.comp.hacker,hkust.cs.prog.c++
Subject: How to forward a connection from 1 port to another?
Date: Thu, 27 Mar 2003 03:30:48 +0800
Organization: Hong Kong University of Science and Technology
Lines: 9
Message-ID: <b5sv4t$qbt$1@news.ust.hk>
NNTP-Posting-Host: dmb061.resnet.ust.hk
X-Trace: news.ust.hk 1048707037 27005 143.89.64.61 (26 Mar 2003 19:30:37 GMT)
X-Complaints-To: abuse@ust.hk
NNTP-Posting-Date: Wed, 26 Mar 2003 19:30:37 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106