Re: How to port forward?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Arctic Wolf (SpamShield-ArcticWolf_at_mail.com)
Date: 02/10/04


Date: Tue, 10 Feb 2004 09:51:31 -0500


> > > 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.
>
>
> 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.



Relevant Pages

  • Re: EZASOKET Connect Call How to Specify Port/IP Address
    ... 'EZASOKET' Connect Call How to Specify Port/IP Address ... For IBMTCP-L subscribe / signoff / archive access instructions, ... assuming you are using IPv4. ... field and the destination port number in the PORT field as explained here: ...
    (bit.listserv.ibm-main)
  • Re: Bug with instanceName property?
    ... If you specify a portnumber attempt to connect using port number. ... I installed SQL Server 2005 on a ... > you get a more efficient connection since it doesn't need to connect to ...
    (microsoft.public.sqlserver.jdbcdriver)
  • Re: To allow inbound traffic from a specific ip
    ... create a new protocol for ... specify in the Primary connection in the Protocol field TCP ... TCP, and the direction as inbound, and the port range that you seen, note ...
    (microsoft.public.isa.configuration)
  • Re: strange RSH behaviour
    ... Note also that the logic which allows access to a port number and protocol, ... If RESTRICTLOWPORTS applies to port range 1-1023 and the relevant ... I did check all of the z/OS Communications Server IP Configuration Guide ... circumvention which is to specify UNRESTRICTLOWRPORTS also works with ...
    (bit.listserv.ibm-main)
  • Re: Why does printk helps PCMCIA card to initialise?
    ... and can also specify how many IO address lines they ... restriction for a card; if it only decodes 3 lines, ... port boundary. ... are specified that the meaning is complicated. ...
    (Linux-Kernel)