Software port switcher

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

nutkenz
Forum Contributor
Posts: 155
Joined: Tue Jul 19, 2005 12:25 pm

Re: Software port switcher

Post by nutkenz »

VladSun wrote:I agree with Kieran Huggins - move to Linux router :)
I've found this - http://support.microsoft.com/kb/309524 - I suppose you can forward any port this way in Windows XP.
Didn't work unfortunately...
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Software port switcher

Post by VladSun »

nutkenz wrote:It doesn't seem to work correctly though; I added the port 8900 to be forwarded to localhost:89, when I connect on http://localhost:8900/ from the server, it works. When I connect remotely using hostname:8900 I do see the title of the page (FlexiServer) coming up though only when using Opera or FF (not IE7 - that one fails completely: 404), but there is no content... Any idea what could be causing this?
Did you run this software on the gateway or on the web server?
Try to run it on the gateway - forward port 8900 to 192.168.1.2:89 (the IP if your web server)
There are 10 types of people in this world, those who understand binary and those who don't
nutkenz
Forum Contributor
Posts: 155
Joined: Tue Jul 19, 2005 12:25 pm

Re: Software port switcher

Post by nutkenz »

VladSun wrote:
nutkenz wrote:It doesn't seem to work correctly though; I added the port 8900 to be forwarded to localhost:89, when I connect on http://localhost:8900/ from the server, it works. When I connect remotely using hostname:8900 I do see the title of the page (FlexiServer) coming up though only when using Opera or FF (not IE7 - that one fails completely: 404), but there is no content... Any idea what could be causing this?
Did you run this software on the gateway or on the web server?
Try to run it on the gateway - forward port 8900 to 192.168.1.2:89 (the IP if your web server)
Gateway as in router? It's a Linksys standard router, I don't think I can run any custom programs on it?
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Software port switcher

Post by VladSun »

Then use the build-in port-forwarding of the Linksys router ...
You said before that youe network was like this:

Internet -> WinXP -> Win2000

You didnt mention that you have a HW router.
There are 10 types of people in this world, those who understand binary and those who don't
nutkenz
Forum Contributor
Posts: 155
Joined: Tue Jul 19, 2005 12:25 pm

Re: Software port switcher

Post by nutkenz »

VladSun wrote:Then use the build-in port-forwarding of the Linksys router ...
You said before that youe network was like this:

Internet -> WinXP -> Win2000

You didnt mention that you have a HW router.
I don't think I implied I didn't have a router...

Either way, the port forwarding only allows me to direct traffic coming from a certain port to a certain IP? I want to route traffic from a certain port to a certain IP AND change the port the traffic is being sent on as well. I don't see this possibility in my firmware.
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Software port switcher

Post by VladSun »

What Linksys model do you have?
There are 10 types of people in this world, those who understand binary and those who don't
nutkenz
Forum Contributor
Posts: 155
Joined: Tue Jul 19, 2005 12:25 pm

Re: Software port switcher

Post by nutkenz »

VladSun wrote:What Linksys model do you have?
Linksys WRT54GS-DE Wireless Broadband
Doug G
Forum Contributor
Posts: 282
Joined: Sun Sep 09, 2007 6:27 pm

Re: Software port switcher

Post by Doug G »

Perhaps a port redirection server like rinetd would do the trick. As well as being readily available for linux, there is a windows implementation.
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Software port switcher

Post by VladSun »

There are 10 types of people in this world, those who understand binary and those who don't
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Software port switcher

Post by VladSun »

So what's indeed the network toplogy?

[linksys router] -> [windows XP ISC] -> [windows 2000] ?

If so forward port 8900 to WindowsXP box, then use the tool you've download to port forward it to port 89 on windows 200 box.
There are 10 types of people in this world, those who understand binary and those who don't
nutkenz
Forum Contributor
Posts: 155
Joined: Tue Jul 19, 2005 12:25 pm

Re: Software port switcher

Post by nutkenz »

VladSun wrote:So what's indeed the network toplogy?

[linksys router] -> [windows XP ISC] -> [windows 2000] ?

If so forward port 8900 to WindowsXP box, then use the tool you've download to port forward it to port 89 on windows 200 box.
Router
==> PC1
==> PC2
==> ...

They are all connected directly to the router.
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Software port switcher

Post by VladSun »

Supposing you have to PC-s - PC1 and PC2. PC2 is the one with service running on port 89. Run on it the port forwarding software like you did in:
I added the port 8900 to be forwarded to localhost:89, when I connect on http://localhost:8900/ from the server, it works. When I connect remotely using hostname:8900 I do see the title of the page (FlexiServer) coming up though only when using Opera or FF (not IE7 - that one fails completely: 404), but there is no content... Any idea what could be causing this?
and try to reach this service from PC1 on port 8900, local IP address. If this works, you just need to forward port 8900 in your Linksys router to your PC2 IP.

PS: Switch your PC2 firewall off while you are trying it.
There are 10 types of people in this world, those who understand binary and those who don't
Post Reply