S
S
schnaps19812017-12-18 21:21:03
Computer networks
schnaps1981, 2017-12-18 21:21:03

Is WOL possible through 2 routers?

Hello!
There is a local network ( network A ) connected to another local network ( network B ), which in turn goes to the Internet. networks A and B are isolated from each other, and router B is the provider for network A. In general, network A has a
gray IP ; network B uses a dynamic white IP for the Internet; network A has a computer that needs to be awakened from the Internet. both routers are Zyxel Kennetic II Lite What has been done: 1. made a dynamic DNS in our own zyukhel service (keendns). an external IP of network B is attached to this DNS access to the router of network B



available from the internet.
2. in the firewall and NAT of the router of network B , one port was redirected from the external interface to the IP of the router of network A. UDP protocol, port number 7777.
3. in the firewall and NAT of the router of network A , one port was redirected from the external interface to the IP of the computer that need to wake up. protocol UDP port 7777
4. the address of the computer for wake-up in router A is set as static.
The address of router A in router B is also static.
5. I'm trying to wake up using the wakeonlan.ru service,
but it doesn't work....
tell me please, is it possible to carry out port forwarding for WOL through 2 routers, is it necessary to use ports 7 and 9 and redirect to the broadcast address?
as I understand the question, ports can be any, and redirection is made to broadcast addresses with the aim that there are dynamic IPs, and the IP of the computer may change. In my case, the IP is static, and you can forward to a specific IP.
the most important question. why doesn't this scheme work?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vreitech, 2017-12-18
@fzfx

about point 4. when the computer is turned off, after a while in the router located in the same segment with this computer, the entry in the arp table with the ip and mac addresses of the computer disappears. until this entry appears in the router again, it will not be able to send packets to the ip-address of the computer, and it will not appear until you turn on this computer. you get a vicious circle. find a way to permanently add an arp entry to the router, or find a way to send a packet to wake up the computer without using the computer's ip address.
a redirect is made to the broadcast address in order not to access the ip-address of the machine, which is not in the arp-table of the router due to the fact that it is "rotten".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question