Initial data:

  • There are two routers: Parent and Child .
  • Have a server
  • Local server IP on the router Parent : 192.168.100.7
  • On the Child router: 192.168.1.33

It is necessary to open the port, for example, 9999.

Routers are connected as follows:

  • There is a main Parent router, an ethernet wire from it goes to the Child router and is connected to the " Internet " connector.
  • On the Parent router, port forwarding for local IP 192.168.100.7 open.

If you connect to the Parent server - everything works. I open port forwarding on the Child router for local IP 192.168.1.33 . I connect the server to the Child router, check via 2ip - "port is closed".

Question: what went wrong? How can such a system be organized?

  • On the Parent, forward the port on the Child's WAN IP router, on Child - on the server 192.168.1.33 . The server should use the Child router as the default gateway. - user194374
  • @kff Damn, even ashamed of such a stupid mistake) Thank you very much - Jacob Ling

0