🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.comp.software.tools
2 messages
2 total messages Started by news.ust.hk Wed, 26 Mar 2003 19:30
How to forward a connection from 1 port to another?
#76
Author: 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!!!!
Re: How to forward a connection from 1 port to another?
#79
Author: Robert Vazan
Date: Thu, 27 Mar 2003 16:59
12 lines
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/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads