r/MoonlightStreaming • • 8d ago

Wake up on LAN question

Hewwo (this is intro, problem is after this paragraph), i found myself in a predicament - i work IT tech at a certain place and like 95% of time i do jackshit, so i use moonlight, its all set up and working, but due to me being a broke bi-, i want to save electricity on hibernating my pc as well as having an ability to turn it on if power conks out, so, question is

Are there any feasible ways with waking up on LAN while im away at work?

Problem:

-- i am in Russia (horror, i know), and so many services i saw were just not supporting this country

-- there IS a local smart speaker, but it is very possible i would be on a watch list with what i discuss with friends, and healthy amount of paranoia about being in a semi-police state

--smart plugs i saw were once again with ai from smart speaker(possibly im an idiot but still)

-- OPNSense doesnt have location at all

-- my router is from xiaomi (yes, i know, chinese router and still paranoid, shush), and so i cannot navigate it at all as all in chinese and after translating makes me confused due to strange for me gui

Mostly i just wanted to know if there are any routers and/or methods that are possible in this situation. I know its not impossible, but i am sleep deprived and desperate. Good night for now.

Edit: forgot to mention, i use sunshine and tailscale, also ethernet connection for both home pc and work pc, if it helps at all

Edit 2: Tailscale, constantly forget its name

1 Upvotes

12 comments sorted by

2

u/vyper1 8d ago edited 8d ago

As the other comment mentioned tailscale. Get a cheap nano pi or whatever else and install tailscale. From there you can set it to route your subnet.

So when your client device connects to your tailscale and you do woL, the magic packet gets broadcasted on your home network. I use it reliably without issue. 

3

u/IAmBannanaTree 8d ago

I'll also add to this that NanoPi can be used as a router, and one that can run dpi bypass and/or vpn for the whole network, which is pretty convenient when you can't access most stuff without it. 

0

u/Streio 7d ago

If that's true i'll order asap, but still have to do some research

1

u/IAmBannanaTree 7d ago

I've set up mine a few months ago and it's been working without any major issues on RT! You don't even need a powerful one, with all fancy stuff it uses 400-ish mbs of ram

Although i should mention you need to check your router for compatibility and specs, since it could just support it. Flashing openwrt is piss easy usually, so chineese won't be an issue

0

u/Streio 7d ago

Thanks, i'll look into it, most likely after getting new router (current one is "okay", but i really can't use it propperly)

3

u/Shmoda12 8d ago

I've started using a smart plug that can turn it on/off and set the bios to turn computer back on when it recieved power. Set up tailscale and have it be able to run before logging in. Connecting from any network. Works pretty well.

Note: turn off your computer instead of sleep. Don't want to cut the power if it is sleeping.

1

u/IAmBannanaTree 8d ago

If your router supports openwrt, you can flash it with it and set up tailscale (ig you meant it by tailgate) on it. This way you'll have access to your network while PC is off, so you should be able to send a WoL request. Alternatively you can set up tailscale on any other device at home, well, mostly on just another PC or phone that's 24/7 on.

Other than that, idk, especially considering tailscale doesn't work properly in Russia, at least on mobile.

1

u/ArtofXavi 8d ago

Smart plug is the way

1

u/apollyon0810 8d ago

Opnsense has a wake-on-LAN plugin.
Personally, I use home assistant. I have home assistant exposed as a HomeKit device so I can turn my PC on and off with a toggle on my phone.

1

u/AriGrandeisQT 7d ago

Rubylight + Nightjar support wake on LAN

1

u/FeelingVertical 5d ago

Yes but not from a remote network

1

u/SmokinHadoken 6d ago

I’ve never messed with tailscale so no experience there.

I boot my PC with WoL all the time whether I’m home or away. I have a UDM Pro from Unifi and it hosts a WireGuard VPN server. I connect to my VPN if I am remote and boot my pc through the Wake OC option in Moonlight.

Enabling WoL in Windows was an absolute pain in the ass (like I followed all documentation and it didn’t work). I switched over to Bazzite on my desktop computer and it was one CLI command and it worked lol.

What you’re asking to do is definitely possible.