Link to home
Start Free TrialLog in
Avatar of Badder
Badder

asked on

Port mapping in Windows XP Professional

Hi.

I need to map some ports on a Windows XP Pro machine to some others used by servers on a Linux machine which connects to the internet through the first (XP).

I've tried using netsh, but it yielded some errors I was unable to find a solution, as I'm totally new to netsh and don't have time to browse its (not so good) documentation.

Please assist.

Thank you vert much.
Avatar of SysExpert
SysExpert
Flag of Israel image

Avatar of Badder
Badder

ASKER

Thank you, SysExpert, but none of those URLS had the info I need.

Thanks anyway.
Avatar of Badder

ASKER

To be more specific:

I guess that netsh is the only way to do this on Windows XP, right?

So, when I try, in order to map the telnet port:

netsh routing ip nat>install

netsh routing ip nat>add portmapping RSNet tcp 0.0.0.0 23 192.168.1.2 23

I get:

No information found for the protocol on the specified interface
Element not found.

Any ideas? Thanks in advance.
1) di an
ipconfig /all and post the results here

2) DO a route print and also post the results.

I hope this helps !
Avatar of Badder

ASKER

Here you go:

ipconfig /all:

Windows IP Configuration

        Host Name . . . . . . . . . . . . : sentient
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : Yes
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter RSNet:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethernet NIC
        Physical Address. . . . . . . . . : 00-50-BF-4E-6F-48
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.1.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . :

route print:

===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 50 bf 4e 6f 48 ...... Realtek RTL8139 Family PCI Fast Ethernet NIC - P
acket Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
      192.168.1.0    255.255.255.0      192.168.1.1     192.168.1.1       20
      192.168.1.1  255.255.255.255        127.0.0.1       127.0.0.1       20
    192.168.1.255  255.255.255.255      192.168.1.1     192.168.1.1       20
        224.0.0.0        240.0.0.0      192.168.1.1     192.168.1.1       20
  255.255.255.255  255.255.255.255      192.168.1.1     192.168.1.1       1
===========================================================================
Persistent Routes:
  None

The network consists of only 2 computers, one has the connection to the internet and runs on Windows XP (the one I'm trying to configure), having ip 192.168.1.1 and the other runs on Linux, has a bunch of servers which must be accessed through the first, and has ip 192.168.1.2 .

Thanks again.
ASKER CERTIFIED SOLUTION
Avatar of SysExpert
SysExpert
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Badder

ASKER

SysExpert:

I managed to find the place of such configurations. Unbelievable. It was there all along, just before my eyes.
I think the reasons for this are:

1) Windows "user-friendly" wording, I kept looking for something that said "port mapping", etc... Instead, the solution was in a "services" tab, which in their hand, can be in another server, automatically creating a port map.
2) Searching for things quickly, I had few spare time lately.

For your persistence in helping me, you diserve the points.

Thank you.