Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi!. I need forward data only on my computer (OS Windows 7 ) for outgoing and incoming requests from port 80 to port 8178. My local ip - 192.168.0.101. For this I decided use netsh. My program is listen all network interfaces on my machine on port 8178. My commands:
I try - netsh interface portproxy add v4tov4 listenport=80 connectaddress=192.168.0.101 connectport=8178 listenaddress=0.0.0.0
then I try change listenaddress - netsh interface portproxy add v4tov4 listenport=80 connectaddress=192.168.0.101 connectport=8178 listenaddress=192.168.0.101
But it didn't work. Why? Can anybody help me? Thanks.
Posted

1 solution

It doesn't seems to me related to c++.
but, try this.[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900