this post was submitted on 17 Sep 2023
21 points (95.7% liked)

Selfhosted

39937 readers
586 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hello.

I was willing to post this in the home network community, but it is not active at all... So I hope this is the right place, as I use a self hosted wireguard and pihole.

I'm just a hobbyist whose first language is not English, so please, bare with me :)

So I use Wireguard Easy to create a tunnel to my home network to use pihole on my phone and access my services from outside.

I have an app to wake my home computer on LAN that is working fine when I'm home. I'd like to be able to wake it from outside and I don't know how.

A few things are bugging me. If I'm connected to my home network, shouldn't I be able to WoL my computer as long as I use my tunnel ?

And, on some occasions, I was able to WoL my PC when I wasn't home (I remember doing it once when I was visiting my parents).

Can someone ELI5 this please ?

Thanks for your help :)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago (3 children)

You understood correctly.

I have a RPi running Wireguard, and a PC.

How would you use the RPi to wake the PC ? What is your method ?

My RPi runs Debian and docker.

[–] [email protected] 4 points 1 year ago (1 children)

You can use the command ‘wakeonlan x’ where x is your MAC address of the pc you are trying to wake.

I use WireGuard on a pi and then use wakeonlan from my phone to start my pc.

[–] [email protected] 2 points 1 year ago

Awesome, thanks :)

[–] [email protected] 1 points 1 year ago (1 children)

I use the “wakeonlan” package. Simply install it, ssh to your server, and run “wakeonlan xx:xx:xx:xx:xx:xx”, where “xx:xx:xx:xx:xx:xx” is the Mac-adres of the PC you’re trying to wake.

[–] [email protected] 2 points 1 year ago

Thanks for your help :)