How to port forward?

  • Thread starter Thread starter Arctic Wolf
  • Start date Start date
A

Arctic Wolf

Computer A has two network cards; one card (DHCP) to the internet, and then
other card (192.168.1.1) to computer B.
Computer B has one network card (192.168.1.2), and accesses the internet
through computer A.
I can telnet to computer A from the outside (internet).
I'm trying to access computer B from the outside (internet).
Is the following correct?
On computer A, right-click on the network icon that's connected to the
internet and choose Properties. Click on the Sharing tab. Internet sharing
is already checked. I now click on Settings button. Now click on Services
tab. Check the Telnet Server. While Telnet Server is high lighted, click
on Edit. Now enter the IP of computer B, which is 192.168.1.2. Is that it?
Something seems missing. Don't you have to specify which port is forwarded
to which port? Any help would be appreciated.
 
With ICS, you need to set the LAN side of the host and the client PC to
receive IP automatically. It won't work with the 192.168.0.X network. (If
you're using Server then its better to use NAT from Routing and Remote
Access.)

The port forward part is correct.
 
Computer A has two network cards; one card (DHCP) to the internet, and
With ICS, you need to set the LAN side of the host and the client PC to
receive IP automatically. It won't work with the 192.168.0.X network.
(If you're using Server then its better to use NAT from Routing and Remote
Access.)
The port forward part is correct.


Thanks for your reply, but that didn't quite solve my problem.
When forwarding a port, don't you have to specify two ports? For example,
if the port 4901 is forwarded to port 5901, then don't you have to specify
that 4901 is the source port and that 192.168.4.2:5901 is the destination
port? In my example above, there's no place to specify the destination
port. I'm sure Windows 2000 has a way to port forward, but I just can't
seem to get it to work.
This web site tries to help, but the last section is unclear.
http://www.informit.com/isapi/product_id~{3BD59E20-8ADA-4E5A-891E-7D9C76E2E628}/element_id~{284020F2-D47A-41D6-B800-6FCD38670F73}/st~{EEA4B8BA-4464-4E41-BE37-B668A7ACCF61}/session_id~{BF6CB3F0-CCD9-4CDC-9B45-F6EFA0DC0E14}/content/articlex.asp
That tutorial talks about redirecting the port 4020 but does not tell you
how to do it? Is the port 4020 being mapped to 4020?
 
Computer A has two network cards; one card (DHCP) to the internet, and
Thanks for your reply, but that didn't quite solve my problem.
When forwarding a port, don't you have to specify two ports? For example,
if the port 4901 is forwarded to port 5901, then don't you have to specify
that 4901 is the source port and that 192.168.4.2:5901 is the destination
port? In my example above, there's no place to specify the destination
port. I'm sure Windows 2000 has a way to port forward, but I just can't
seem to get it to work.
This web site tries to help, but the last section is unclear.
http://www.informit.com/isapi/product_id~{3BD59E20-8ADA-4E5A-891E-7D9C76E2E628}/element_id~{284020F2-D47A-41D6-B800-6FCD38670F73}/st~{EEA4B8BA-4464-4E41-BE37-B668A7ACCF61}/session_id~{BF6CB3F0-CCD9-4CDC-9B45-F6EFA0DC0E14}/content/articlex.asp
That tutorial talks about redirecting the port 4020 but does not tell you
how to do it? Is the port 4020 being mapped to 4020?


Hey, it worked! I don't need to specify two ports. The same port number is
used in mapping. So, now, when I want to telnet to computer B, I simply
telnet to A without specifying the port in the A's IP address. I won't be
able to telnet to A because all telnets to A is redirected to B.
 
Back
Top