C
C
chao562021-06-21 10:07:44
Computer networks
chao56, 2021-06-21 10:07:44

How is the connection to the internal network from the outside?

I ask as a beginner in computer networks.
Interested in how specifically the connection to a specific device in the local network from the outside (from the global one) occurs. that is, if we have a white ip, we can connect, for example, to an ip camera, but how does the router redirect the request, without specifying which of the local ip addresses the connection is made to?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
R
res2001, 2021-06-21
@chao56

but how does the router redirect the request, without specifying which of the local ip addresses the connection is made to?

No indication, nothing.
But there is guidance in one form or another.
If the internal network has gray addresses, then NAT is configured on the router and the port forwarding rule is written there - this rule is the indication of the local address.
If white addresses are used within the network (relevant for IPv6, well, sometimes the same can be found in IPv4), then the routing table contains the corresponding rules.

R
Ramis, 2021-06-21
@ramzis

but how does the router redirect the request, without specifying which of the local ip addresses the connection is made to?

It's all done in the router settings.
60d04006a012f310873306.png

A
Armenian Radio, 2021-06-21
@gbg

uPNP allows you to do port forwarding automatically , provided that the router supports it.
Then outwardly it looks like this - nothing was configured, but everything works

P
poisons, 2021-06-21
@poisons

NAT has existed for more than a year and there is no special magic in it.
Specifically, if there is an external routable address in the router settings, there is an indication of the target host.
Moreover, in some camera models, a white address is not needed. The camera connects to the manufacturer's service outside the local network and sends the picture there.

C
CityCat4, 2021-06-21
@CityCat4

Usually through a VPN to protect traffic between the camera (or whatever is there) and the user
. But there is also port forwarding through NAT - in this case, traffic protection can also be provided if it is provided by the program being accessed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question