I think Char Jackson has covered your questions real well. Let me drop
a few comments in below.
On 9/23/2010 2:39 PM, Char Jackson wrote:
> On Thu, 23 Sep 2010 09:25:18 -0700 (PDT), Elton<(E-Mail Removed)>
> wrote:
>
>> Where can you see the IP address of the poster of a post/reply, like
>> you saw mine?
>> Because, for example, I look at the header of your posts and can't
>> find anywhere your IP or the NNTP-Posting-Host field.
>> Why my IP is shown and yours is not?
>
> Different Usenet providers do it slightly differently. Here are a few
> of the headers your provider (Google Group?) includes:
>
> NNTP-Posting-Host: 79.106.109.116
> Mime-Version: 1.0
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
> X-Trace: posting.google.com 1285259124 11582 127.0.0.1 (23 Sep 2010
> 16:25:24 GMT)
> X-Complaints-To: groups-(E-Mail Removed)
> NNTP-Posting-Date: Thu, 23 Sep 2010 16:25:24 +0000 (UTC)
> Complaints-To: groups-(E-Mail Removed)
>
I tend to hit the 'view source' to see everything in an email or news
post. If you depend upon the headers shown by your news reader, you may
not see everything. The news server my ISP uses (they farm it out in
recent years) does not pass on the IP address of the originator. Some
people get upset about that information being passed on. Knowing an IP
address lets you (maybe) identify where a person is. When I ran one of
your IP addresses thru a whois server, it showed me on a map that you
weren't too far from the "heel of the boot" :-) -- that agreed with
what you had posted a little earlier.
>
>> My purpose isn't to setup an webserver because I need it.
>> My purpose is to see if I can make my computer accessible from the
>> internet and in the process, to learn more about networks and the way
>> how they work.
>>
>> It puzzles me why software such as TeamViewer and the TeamViewer
>> server, can access my home pc from outside
>
> Are you running any kind of client software related to those
> applications? If so, that's how they do it. The client initiates an
> outbound connection, which your ISP allows, and the return traffic
> simply uses that existing connection.
Perhaps I can expound on that a little. When you access a web site
(lets assume a html server) your computer first looks up (at a DNS
server) the URL to get an IP for that destination, then connects to it
-- specifying a default port at the destination -- unless you gave a
specific port. For a web server, that will be port 80. That connect
request coming from your computer also specifies a port number for
replies to be sent to. Those ports at the originating computer will be
random, but usually in the higher numbers. Once that connection has
been set up, your computer sends traffic to the other on that port 80,
and replies come back to whatever you specified.
Enter a router into the mix! A router does a network address
translation (NAT) so that more than one computer can share the
connection to the internet. Your router will track the IP of the
computer and the port it expects replies on, and modify those so it is
showing them as coming from whatever IP your ISP thinks you are using,
and probably a different port number. Replies that come back to your
router are to that outside address and at the modified port. The router
replaces those with the original IP/port pair and sends it on to your
computer.
As long as you keep that connection up to the other end (and I'm not
sure how that is determined) your router knows where to forward those
replies.
In your case, if you do a IPCONFIG on your computer, you will see the
information on your connection to your router -- in the 192.168 range.
The router is using an address in the 10.0 range for it's WAN
connection. It really, since it is using PPPoE, is simply talking to
another computer at the ISP that is doing a form of NAT, but using an
available IP address in the 79.106.109 range for the connection. I
suspect those IP addresses are held down for you only as long as that
connection is open.
The advantage of that, to the ISP, is possibly fewer IP addresses it
needs. I sit here with a DSL connection up 24/7, and that is using one
IP address. You have your DSL connection up 24/7 -- but when there is
no traffic going on, you are not using any IP address in the pool the
ISP has purchased.
>
>> or my ISP accepts traffic from facebook.com and sends it to me
>
> No idea what you're talking about here. I don't use Facebook. What are
> they sending to you?
>
>> while I can't access my home PCs server ports at all.
>
> I thought this had been settled. It appears that your ISP is either
> doing double NAT (most likely) or is using another kind of technology
> that effectively prevents you from doing what you're trying to do.
>
>> If, for example, youtube.com sees my 79.106.109.XXX IP and then
>> streams the video to this IP, and the ISP can send it to the exact
>> computer which requested it, then why can't I, instead of a video,
>> send a request to my computer to connect in port 80 for example ???
>
> Youtube doesn't send anything that you haven't requested, as far as I
> know. As above, you make a request which your ISP sees as an outgoing
> connection, which is allowed, and the response from youtube is the
> video you've requested. No mystery there. That scenario works through
> multiple layers of NAT. But that's not the same as some entity trying
> to initiate a connection to your PC. Your ISP's NAT infrastructure has
> no idea what to do with that kind of incoming connection. How would
> they know they should forward it to you rather than to any of their
> other subscribers? There's no user-identifying information in the
> connection setup.
>
If you were to be able to get an IP address that could be seen from the
internet, then if you were to set up a server, it would be listening on
a specific port. As I mentioned, for a web server, the default is port 80.
I set the router here up originally to forward port 80 traffic on to the
computer I was running a server on. That was a big mistake! All the
hackers in the world scan IP addresses on port 80, and when they get an
acknowledgment, they know they have a target to play with. Without
going into details, it was very obvious very soon that was a bad scene.
I set the server here to listen for connections to an unused port (got
64,000 to pick from!), and used a server at DYNDNS to translate connects
coming to port 80 to the port my server listens on.
And, a question maybe someone can answer: How do you set up a VPN
connection if you have a PPPoE connection like Elton does?
....Bob