How to configure portproxy on Windows 7?


  1. Posts : 1
    Windows 7 Ultimate 32 bit
       #1

    How to configure portproxy on Windows 7?


    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


  2. Posts : 52
    Windows 7 Pro 64bit
       #2

    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


  3. Posts : 4
    Windows 7
       #3

    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


  4. Posts : 4
    Windows 7
       #4

    NETSH INTERFACE PORTPROXY do not work when doing port redirection between IPv4 and IPv4 addresses.

    Probably not relevant to the OP, cos I think it refers to XP, and as Win7 has IPv6 installed as standard so..anyway.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:26.
Find Us