Article View: alt.comp.software.tools
Article #79Re: How to forward a connection from 1 port to another?
From: Robert Vazan
Date: Thu, 27 Mar 2003 16:59
Date: Thu, 27 Mar 2003 16:59
12 lines
2202 bytes
2202 bytes
In comp.programming news.ust.hk <maxlaw@sinaman.com> wrote: > 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!!!! May I suggest netfilter/iptables? http://www.netfilter.org/
Technical Details
Message-ID:
<b5vakv$4obt$1@ID-119820.news.dfncis.de>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!81.0.194.200!not-for-mailReferences:
<b5sv4t$qbt$1@news.ust.hk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9a59,aa531f70d4e958b6
X-Google-Attributes: gidf9a59,public
X-Google-Thread: faf35,aa531f70d4e958b6
X-Google-Attributes: gidfaf35,public
X-Google-Thread: 113dfb,aa531f70d4e958b6
X-Google-Attributes: gid113dfb,public
X-Google-Thread: fa91f,aa531f70d4e958b6
X-Google-Attributes: gidfa91f,public
X-Google-Thread: f72d4,aa531f70d4e958b6
X-Google-Attributes: gidf72d4,public
X-Google-Thread: 108717,aa531f70d4e958b6
X-Google-Attributes: gid108717,public
X-Google-Thread: 109fba,aa531f70d4e958b6
X-Google-Attributes: gid109fba,public
X-Google-Thread: 108a34,aa531f70d4e958b6
X-Google-Attributes: gid108a34,public
X-Google-ArrivalTime: 2003-03-27 08:59:13 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!81.0.194.200!not-for-mail
From: robertvazan@host.sk (Robert Vazan)
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: Re: How to forward a connection from 1 port to another?
Followup-To: comp.programming
Date: 27 Mar 2003 16:59:11 GMT
Lines: 13
Message-ID: <b5vakv$4obt$1@ID-119820.news.dfncis.de>
References: <b5sv4t$qbt$1@news.ust.hk>
NNTP-Posting-Host: 81.0.194.200
X-Trace: fu-berlin.de 1048784351 156029 81.0.194.200 (16 [119820])
X-Orig-Path: not-for-mail
User-Agent: tin/1.5.12-20020311 ("Toxicity") (UNIX) (Linux/2.4.18-386 (i586))