Answer the question
In order to leave comments, you need to log in
How to connect to a host on a subnet?
I understand that the question is stupid, but Google refuses to understand me.
There is a network 192.168.0.* (mask / 24, respectively) - a common home, router 192.168.0.1
It has a subnet (a router, two computers are connected to it) - 192.168.1.* (also / 24)
The subnet router has an address in the external 192.168.0.2 , and in the internal - 192.168.1.1
In this subnet, I raised owncloud, ip - 192.168.1.2 , port 80 . And I want to synchronize the photo album between all computers in the apartment - i.e. not only in its own subnet, but also in the general one.
Question: how to access owncloud from external network?
To put the question in a more general form:how to get access from external network to subnet host?
All named addresses, of course, are static, they are registered in the settings of the corresponding routers.
Answer the question
In order to leave comments, you need to log in
If you really need the 192.168.1.0/24 subnet, then on the 192.168.1.1 router, forward port 192.168.1.2:80 to port 80. After such manipulations, computers from the 192.168.0.0/24 network will be able to access 192.168.0.2 on port 80 But for a home network, it 's
more logical to disable dhcp in the second router and switch the cable from the WAN port to the LAN port. Thus, all your devices will be in a single subnet 192.168.0.0/24 and there will be no problems with access and routing at all.
switch router 2 to access point mode and disable dhcp on it. Or configure port forwarding. Or disable nat on the second one and register routes to the network 192.168.1.0 through 192.168.0.2
Here already answered about port forwarding and so on.
Is my network application visible from the local network...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question