Networking Forums

Networking Forums > Computer Networking > Windows Networking > Port remapping

Reply
Thread Tools Display Modes

Port remapping

 
 
Alex B.
Guest
Posts: n/a

 
      03-12-2008, 06:58 PM
Hi all!

Reading about NetSh command, I saw a port remapping. It's in context 'netsh
interface portproxy'. I decided to check working of this and entered:

netsh interface portproxy add v4tov4 666 127.0.0.1 80 127.0.0.1 tcp

I think, after executing this command all TCP packets incoming to port 666
must be redirected to port 80 where HTTP-server is being working. For
checking, I run telnet.exe and try to open port 666:

open 127.0.0.1 666

But I can't connect ( As before port mapping, so after it port 666
behavior is similar. It seems to be closed. If I try to connect to port 80
directly, I manage to do it. But if I try to connect to port 666, telnet
answers it can't connect.

RRAS turned on. Windows firewall turned off. Another firewalls are absent. I
tried that command in diferent cases and on diferent computers, but the
result is the same. I already have a headache. Where is the problem??

WBR Alex.


 
Reply With Quote
 
 
 
 
Robert L. \(MS-MVP\)
Guest
Posts: n/a

 
      03-13-2008, 02:15 AM
It may be some things to do with IPV6MON.DLL. Quoted from Microsoft article:

"Netsh.exe is a tool an administrator can use to configure and monitor
Windows-based computers at a command prompt. The Netsh.exe tool direct the
context commands you enter to the appropriate helper, and the helper then
carries out the command. A helper is a Dynamic Link Library (.dll) file that
extends the functionality of the Netsh.exe tool by providing configuration,
monitoring, and support for one or more services, utilities, or protocols.
The <add v4tov4> command is sent to the IPV6MON.DLL helper, and because of
that it will work only if IPv6 protocol is installed".

--
Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on
http://www.HowToNetworking.com
"Alex B." <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi all!
>
> Reading about NetSh command, I saw a port remapping. It's in context
> 'netsh
> interface portproxy'. I decided to check working of this and entered:
>
> netsh interface portproxy add v4tov4 666 127.0.0.1 80 127.0.0.1 tcp
>
> I think, after executing this command all TCP packets incoming to port 666
> must be redirected to port 80 where HTTP-server is being working. For
> checking, I run telnet.exe and try to open port 666:
>
> open 127.0.0.1 666
>
> But I can't connect ( As before port mapping, so after it port 666
> behavior is similar. It seems to be closed. If I try to connect to port 80
> directly, I manage to do it. But if I try to connect to port 666, telnet
> answers it can't connect.
>
> RRAS turned on. Windows firewall turned off. Another firewalls are absent.
> I
> tried that command in diferent cases and on diferent computers, but the
> result is the same. I already have a headache. Where is the problem??
>
> WBR Alex.
>
>


 
Reply With Quote
 
Alex B.
Guest
Posts: n/a

 
      03-13-2008, 08:05 PM
Hi!

I've already found and read that article
(http://support.microsoft.com/kb/555744). But my ipv6mon.dll seems to be all
right. I executed 'show helper' command in 'netsh interface portproxy'
context and got info about that library presence. I think if some problems
with ipv6mon.dll were, I would got a mistake during trying to remap ports.
But I don't get any mistakes and when I execute 'show' command later I get
info about port remapping presence.
I wonder if there's a human who managed to use port remapping with 'netsh
interface portproxy' anywhere

Alex.


"Robert L. (MS-MVP)" <(E-Mail Removed)> ???????/???????? ?
???????? ?????????: news:(E-Mail Removed)...
> It may be some things to do with IPV6MON.DLL. Quoted from Microsoft

article:
>
> "Netsh.exe is a tool an administrator can use to configure and monitor
> Windows-based computers at a command prompt. The Netsh.exe tool direct the
> context commands you enter to the appropriate helper, and the helper then
> carries out the command. A helper is a Dynamic Link Library (.dll) file

that
> extends the functionality of the Netsh.exe tool by providing

configuration,
> monitoring, and support for one or more services, utilities, or protocols.
> The <add v4tov4> command is sent to the IPV6MON.DLL helper, and because of
> that it will work only if IPv6 protocol is installed".




 
Reply With Quote
 
Alex B.
Guest
Posts: n/a

 
      03-17-2008, 08:35 AM

"Alex B." <(E-Mail Removed)> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:(E-Mail Removed)...

> I wonder if there's a human who managed to use port remapping with 'netsh
> interface portproxy' anywhere


Well... I see, nobody can use port remapping in Windows... :-]


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How many NIC for a event photography viewing system, advantages ofQuad Port (4-port) NICs sam Windows Networking 1 03-17-2008 12:51 PM
Socket connection to port fails despite port open / listening ! Jack Linux Networking 2 12-19-2007 03:46 PM
remapping ip addresses: how? Alessandro Russo Linux Networking 9 09-07-2006 08:12 AM
Remapping a share using DNA and CName records... HOW? Fran Windows Networking 1 12-23-2005 01:44 AM
What is the difference between a multi-port ASDL modem/router and one with a 4 port hub? Tim Lyons Broadband 4 02-27-2004 06:07 AM



1 2 3 4 5 6 7 8 9 10 11