L
L
Leonid2022-03-05 17:01:33
network hardware
Leonid, 2022-03-05 17:01:33

How to properly wake up NAS via Wake-On-LAN over the Internet?

I managed to buy such a NAS Synology DS218 before the price increase.
Everyone is happy - everything is cool!

I do not plan to work in 24/7 mode. It's easier for me to turn it on at the moment I need or for the period of time I need - so the disks will live longer and the device itself.

I want to configure wake -on-LAN Wake-On-LAN
NAS-connected by wire to the MikroTik RB951Ui-2HnD router I enabled the Wake-On-LAN

function in the Synology settings . I tried the command in MikroTik: Synology woke up! Everything works within the local network - cool! How to wake up the NAS over the Internet now?

tool wol interface=bridge mac=XX:XX:XX:XX:XX:XX




And how can I configure it so that random "shooting" on the ports of my router from the Internet does not turn it on?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
D
Drno, 2022-03-05
@Drno

No, discs will not last longer if they stop then spin up. For disks, the ideal option is when they are launched and they are constantly spinning.
As for the fact that the NAS itself will live longer - the same is mythological)
You need to wake up on LAN ... otherwise any call to the forwarded port will wake up the device, which is logical
. So, as an option, raise the VPN on Mikrotik and go through the VPN. then from the outside the port to the NAS is closed, and when connected via VPN it will wake up)

D
d-stream, 2022-03-06
@d-stream

Actually, about the pros and cons of falling asleep have already been painted.
But about the implementation of non-sleeping during scanning - for a long time there has been such a thing as port knocking
, that is, to the best of your paranoia, you can set a sequence of port numbers and wake up only when accessing this sequence.
Sample for Mikrotik

Z
Zzzz9, 2022-03-06
@Zzzz9

The question is not clear, you enter via ssh and wake up the device, no accidental inclusions.

K
Konstantin Tsvetkov, 2022-03-05
@tsklab

I remember there was a special site wakeonlan.ru .

V
Vadim, 2022-03-10
@Vvvyg

For me, the most secure and convenient option.
Install the Script for notifications and execution of commands via Teleg... .
Now you can give the command to wake up in the cart, for simplicity and, if desired, hang it on a separate script.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question