How to configure portproxy on Windows 7?

mor17171

New member
Local time
9:56 PM
Messages
1
Hi,

I am trying to get my Windows 7 machine to forward tcp connections to different address and port.

I searched through the internet and found that it can be done using "net sh interface portproxy" command. Specifically I am running the following from the command line:

netsh interface portproxy add v4tov4 8000 192.168.0.100 9000

(192.168.0.100 is the address of an other computer on my network which listens on tcp port 9000)

After that - I run

netsh interface portproxy

and get the following result:

Listen on ipv4: Connect to ipv4:

Address Port Address Port
--------------- ---------- --------------- ----------
* 8000 192.168.0.100 9000

Thus, everything should work but when I try to connect to the Windows 7 machine on TCP port 8000 I receive a Reset flag.

Any help will be appreciated,
Thanks
 

My Computer My Computer

At a glance

Windows 7 Ultimate 32 bit
OS
Windows 7 Ultimate 32 bit
Hi.

This is not something I am experienced with, but since nobody else is responding, 2 heads bouncing ideas are better than 1.

Have you tried disabling Windows Firewall on both hosts just for process of elimination?
 

My Computer My Computer

At a glance

Windows 7 Pro 64bitIntel i5 750 - OCed @ 3.57GHz8GB DDR3GTX260
Computer Manufacturer/Model Number
ME!
OS
Windows 7 Pro 64bit
CPU
Intel i5 750 - OCed @ 3.57GHz
Motherboard
Gigabyte P55A-UD3
Memory
8GB DDR3
Graphics Card(s)
GTX260
Sound Card
onboard sound
Monitor(s) Displays
Dual 22" LCD
Screen Resolution
1680x1050 x 2
Hard Drives
removable - 2x Samsung F1 1TB; WD Caviar Black 1TB
PSU
I forgot - 750W Antec
Case
Antec P18something
Cooling
I blow on the CPU from time to time
Mouse
Logitech MX laser
Internet Speed
7Mb
I also have been having problems with portproxy, but with ipv4<->IPv6.

It seems that even when I disable the firewall the connection is not allowed BUT after a reboot, with it disabled, it seems to take, then I can re-enable and all seems fine.

However after a couple of days when I try again to use the connection, I have to repeat the process for it to work.

I am looking into it but cant quite figure it out.

I have just noticed that after a couple of days of it working, I have just had to reset my machine and again it has stopped working. I am connecting remotely and don't want to reset again so I am trying to track down the problem just now.

My spidey IT sense thinks that it might be something like the dll that handles the portproxy (NETIOHLP.DLL I think), might be loaded someplace when the firewall change is made, and the reset causes it to be reloaded with the new config, thus curing the problem.

(i'm pretty sure what I just typed made no sense but I will continue cos the problem is driving me barmy.)
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
Back
Top