Networking Forums

Networking Forums > Computer Networking > Linux Networking > Connecting to my home computer from internet

Reply
Thread Tools Display Modes

Connecting to my home computer from internet

 
 
Octavia Rivero
Guest
Posts: n/a

 
      10-15-2005, 02:11 PM
My home computers are connected to my wireless router which is connected to
a ADSL modem. All computers receive their IP addresses (192.168.2.xx) from
HCTP server in the wireless router.

I wrote very simple TCP/IP and UDP client server applications. They are
working fine in my home network.

How can I access my servers (my individual home computers) from internet?

Thanks,

Octavia Rivero



 
Reply With Quote
 
 
 
 
Unruh
Guest
Posts: n/a

 
      10-15-2005, 03:40 PM
"Octavia Rivero" <(E-Mail Removed)> writes:

>My home computers are connected to my wireless router which is connected to
>a ADSL modem. All computers receive their IP addresses (192.168.2.xx) from
>HCTP server in the wireless router.


>I wrote very simple TCP/IP and UDP client server applications. They are
>working fine in my home network.


>How can I access my servers (my individual home computers) from internet?


The short answer is you cannot is the short answer. 192.168 addresses are
non routable. Taht means any packet sent to that address is thrown away at
the first router it gets to. Which is fortunate since there are thousands
of that address in the world and nothing knows where they or yours are.

Your router may be able to be set up as a proxy or port forwarding router.
ThusIF you know the IP address of your router (assigned by your ADSL
provider) you may be able to set it up to forward messages sent to it, to
one of your computer. However since that address is almost certainly
dynamic, it will keep changing so you will not know what it is. This is why
I have one of my computers be the router so that it gets the IP address,
and I can track that address and get to that computer from outside home.



>Thanks,


>Octavia Rivero




 
Reply With Quote
 
Mark Holvek
Guest
Posts: n/a

 
      10-15-2005, 03:46 PM
> The short answer is you cannot is the short answer. 192.168 addresses are
> non routable. Taht means any packet sent to that address is thrown away at
> the first router it gets to. Which is fortunate since there are thousands
> of that address in the world and nothing knows where they or yours are.
>
> Your router may be able to be set up as a proxy or port forwarding router.
> ThusIF you know the IP address of your router (assigned by your ADSL
> provider) you may be able to set it up to forward messages sent to it, to
> one of your computer. However since that address is almost certainly
> dynamic, it will keep changing so you will not know what it is. This is
> why
> I have one of my computers be the router so that it gets the IP address,
> and I can track that address and get to that computer from outside home.


How the MS, Yahoo messengers, Skype etc kind of programs are managing to
communicate behind the router?


 
Reply With Quote
 
Unruh
Guest
Posts: n/a

 
      10-15-2005, 04:06 PM
"Mark Holvek" <mh> writes:

>> The short answer is you cannot is the short answer. 192.168 addresses are
>> non routable. Taht means any packet sent to that address is thrown away at
>> the first router it gets to. Which is fortunate since there are thousands
>> of that address in the world and nothing knows where they or yours are.
>>
>> Your router may be able to be set up as a proxy or port forwarding router.
>> ThusIF you know the IP address of your router (assigned by your ADSL
>> provider) you may be able to set it up to forward messages sent to it, to
>> one of your computer. However since that address is almost certainly
>> dynamic, it will keep changing so you will not know what it is. This is
>> why
>> I have one of my computers be the router so that it gets the IP address,
>> and I can track that address and get to that computer from outside home.


>How the MS, Yahoo messengers, Skype etc kind of programs are managing to
>communicate behind the router?



By a trick called IP masqarading. When you go out FROM your computer, your
router replaces all of From adddresses with their own, but with a high port
number (eg you go out from port 120, it assignes port 3120) and keeps track
of what it did. When it gets a response to that high number it looks up its
table and knows it is to sent that packet on to your machine on port 20. If
you try to come in from outside, it has no table entry for your packet.
Thus it assumes the packet is for itself, but then it cannot do anything
with it, so it gets dropped.
Note that you would have the same problem with inbound skype calls, unless
the router were set up to do port forwarding (ie on some routers you can
set them up so that if they say get a packet addessed to their IP on port
80 they will pass that packet on to one of the computers connected to it.
You would have to specifically set up your router to do that-- ie it would
have to be capable of port forwarding).

 
Reply With Quote
 
Moe Trin
Guest
Posts: n/a

 
      10-15-2005, 08:07 PM
In the Usenet newsgroup comp.os.linux.networking, in article
<43510e05$0$25815$(E-Mail Removed)> , Octavia Rivero wrote:

>My home computers are connected to my wireless router which is connected to
>a ADSL modem. All computers receive their IP addresses (192.168.2.xx) from
>HCTP server in the wireless router.


HCTP? http://www.acronymfinder.com/af-query.asp?Acronym=HCTP returns
"Here Comes The Pain" - though I don't think I've heard that one used
in network concepts. I suspect you really mean DHCP.

>I wrote very simple TCP/IP and UDP client server applications. They are
>working fine in my home network.
>
>How can I access my servers (my individual home computers) from internet?


>NNTP-Posting-Host: 220.239.18.90


OK - that's Optus Retail in NSW.oz. Contact your sales-droid and ask
about getting additional IP addresses.

If you don't want to go that route (this is hobby or experimental and not
ready for public use), you should be able to configure your router to
'port forward' to the individual server. See the IP-Masquerade-HOWTO for
the concept. You may find it easier to be using static addresses for
your servers so the port forwarder doesn't have to guess where the server
is located today.

Old guy
 
Reply With Quote
 
Martin Blume
Guest
Posts: n/a

 
      10-16-2005, 10:18 AM
"Moe Trin" schrieb
>
> HCTP?
> http://www.acronymfinder.com/af-query.asp?Acronym=HCTP
> returns "Here Comes The Pain" - though I don't think
> I've heard that one used in network concepts.
>


Well, perhaps not with networking ***concepts***, but in
networking ***reality***, HCTP is pretty well known ...

SCNR
Martin


 
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
Computer locks up connecting to Internet ladyrider696 Home Networking 1 09-19-2010 02:56 PM
Problem with host computer connecting to internet dipster Wireless Networks 2 06-23-2006 07:29 PM
Connecting a new computer to the internet Jerry and Anna Broadband Hardware 1 09-28-2005 05:27 AM
connecting to the internet with my new computer Dean Broadband Hardware 3 07-13-2004 05:35 PM
Problem connecting to the internet with a computer running Windows 98 =?Utf-8?B?RF9NX01hcnRpbg==?= Windows Networking 2 12-25-2003 06:55 AM



1 2 3 4 5 6 7 8 9 10 11