Send wake-on-lan magic packet from QNAP NAS

Don't miss a thing. Post your questions and discussion about other uncategorized NAS features here.
Locked
federico.massimi
First post
Posts: 1
Joined: Thu Jun 23, 2022 7:48 pm

Send wake-on-lan magic packet from QNAP NAS

Post by federico.massimi »

Hi, I would like to use my QNAP NAS to wake up my PCs remotely via wake-on-LAN.
My situation is this: I have a network with 4 PCs and a QNAP NAS, all PCs are configured to turn on via wake-on-lan. The QNAP NAS is always on and remotely accessible via its web interface.
Is there a way, from the web interface of the NAS, to send the wake-on-lan magic packet to my PCs to turn them on?

Thank in advance
FSC830
Experience counts
Posts: 2043
Joined: Thu Mar 03, 2016 1:11 am

Re: Send wake-on-lan magic packet from QNAP NAS

Post by FSC830 »

No, afaik QNAPs busybox do not have such a capability.
May be if you are installing Entware its possible to do such tasks (not sure about).
But there is no built-in app for WoL.

Sometime and a lot of firmware versions ago there was an app for waking up devices in app store. But this app was removed long time ago.
Isnt your router able to send a WoL packet?

Regards
dosborne
Experience counts
Posts: 1791
Joined: Tue May 29, 2018 3:02 am
Location: Ottawa, Ontario, Canada

Re: Send wake-on-lan magic packet from QNAP NAS

Post by dosborne »

federico.massimi wrote: Thu Jun 23, 2022 7:55 pm The QNAP NAS is always on and remotely accessible via its web interface.
Be VERY careful exposing your admin interface to the internet. QNAP has sent multiple warnings.

Check the Deadbolt Ransomware thread
viewtopic.php?f=45&t=164797

and the QLocker Ransomware thread
viewtopic.php?f=45&t=160849

As well as many QNAP security bulletins.
QNAP TS-563-16G 5x10TB Seagate Ironwolf HDD Raid-5 NIC: 2x1GB 1x10GbE
QNAP TS-231P-US 2x18TB Seagate Exos HDD Raid-1
[Deadbolt and General Ransomware Detection, Prevention, Recovery & MORE]
Kowalski7
First post
Posts: 1
Joined: Mon Feb 05, 2024 2:09 am

Re: Send wake-on-lan magic packet from QNAP NAS

Post by Kowalski7 »

So I managed to get my QNAP NAS to act as a Wake-On-LAN platform for my home devices by installing the following Docker application using Container Station:
https://github.com/seriousm4x/UpSnap

The only modifications I did to the Docker compose file was to uncomment the entrypoint line, point the configuration folder to an existing location on the NAS, and to expose the port (in this case: 5000) outside of the Docker container, so it is accessible:

Code: Select all

    volumes:
       - /share/YourSharedFolder/UpSnap/data:/app/pb_data
    entrypoint: /bin/sh -c "./upsnap serve --http 0.0.0.0:5000"
    ports:
       - 5000:5000 
However, as @dosborne said, exposing your NAS' web interface directly to the internet can be extremely dangerous, especially with the ransomware that keeps popping up targeting QNAP devices. I would suggest using a service like Tailscale or ZeroTier to create a virtual network and keep your NAS and other trusted devices (like phones, laptops, etc) in it, so that they can communicate with each other securely, without doing port forwarding on your router.
User avatar
dolbyman
Guru
Posts: 35024
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Send wake-on-lan magic packet from QNAP NAS

Post by dolbyman »

topic locked to prevent further necropostings
Locked

Return to “Miscellaneous”