Thank you, SysExpert, but none of those URLS had the info I need.
Thanks anyway.
Main Topics
Browse All TopicsHi.
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.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
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.
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 ..........................
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.
OK. ICS or NAT - which are you using ?
some relevant comments.
From: AvonWyss Date: 03/13/2001 08:37AM PST ICS internet sharing proxy on win2k Server not ISA.
Yes there is. Go to Routing & Remote Access, chose to manually configure and start the service if asked.
Open IP-Routing. Right-click on "General" and choose "New Routing Protocol". Add the "Network Address
Translation" (NAT) protocol. Goto the NAT protocol.
Add your internet connection (using the contect menu) as public interface with TCP/UDP header translation
enabled.
Add your private NIC(s) as private interfaces.
Goto static routes and add a route for "0.0.0.0", mask "0.0.0.0" with your internet gateway (if on a
NIC card) and a metric of 100 or so.
This should be working now. You can change the options for the NAT and add mapped ports etc. using the context menu.
Routing and RAS is not a proxy, thus it does not check the requests made by name or URL. However, you can define filters for each netowrk interface, including IP range and ports to be locked out (or to have exclusive access).
This will allow you to define simple rules depending on the IP or IP range. You could also block port 80 and use another proxy software to do more detailed filtering, while still allowing all other traffic to be handled by the NAT.
From: andyalder Date: 09/04/2001 05:32AM PST
The second screen of the RRAS connection wizard allows ICS or NAT, not both. Which did you pick???
If you picked ICS then disable the DHCP service as ICS provides it's own DHCP agent.
If picked NAT then ensure the DHCP service is running and had a router (03) option of your servers 192.168.0.1.
There's more to it than this but confirm whether ICS or NAT first.
From: Kong Date: 09/04/2001 06:26AM PST
Hi Andy, I chose NAT on the second screen...
Sorry about the confusion, on the first screen, I selected ICS and on the second screen, I selected
NAT...
From: andyalder Date: 09/04/2001 06:45AM PST
Under RRAS, ip routing NAT check that the 2 interfaces properties in case you have the inside interface defined as the external interface (unlikely).
From: andyalder Date: 09/04/2001 09:38AM PST
I'm not sure, I always use a firewall or setup the router to filter unwanted traffic. Probably the router
itself is performing NAT in which case no incoming ports would be forwarded to your server anyway, just
replies to it's own packets.
How to Configure Input Filters for Services That Run Behind Network Address Translation NAT
http://support.microsoft.c
----------------------
I hope this helps !
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.
Business Accounts
Answer for Membership
by: SysExpertPosted on 2001-11-02 at 21:00:48ID: 6615540
These may help !
http://www.practicallynetw
http://www.practicallynetw
http://www.practicallynetw
Need to map the port, as you are using ICS (network address translation)
http://www.practicallynetw
port list
http://www.practicallynetw
http://www.sohointer.net/h
http://www.sohointer.net/t
http://www.onecomputerguy.
I hope this helps !