nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

Send Wake-on-LAN magic packet option for Streams host access in order to wake up target server

Open fiveangle opened this issue 5 years ago • 9 comments

In the Streams interface, NPM allows access at an incoming port to be proxied to an internal host:port. For hosts that may be in an ACPI suspended state, the stream access will fail. An ideal solution would be to implement a "Send Wake-on-LAN packet" toggle within the Stream setup dialog. As NPM would only be able to know what the MAC address for the target device is if the target IP is active when setting up the Stream, NPM would either have to only allow enabling the toggle if the IP address is active during setup, or optionally, could include a field for the user to enter the MAC address directly. Either way (or both) would be plenty sufficient I think.

Variations that could be implemented are a set additional delay before responding to the client with the stream connection (which may allow a bit of time for the software on the WOL machine to fully resume operation, but I don't know if this will even be necessary - perhaps not).

This feature would allow those of us with media servers to script these systems to go to sleep when there are no active clients connected for a certain period, then resume operation upon client access.

I think this new feature would be a huge hit for Plex and other media server users ❤️

Regardless, I'm loving what you've put together here with NPM !

fiveangle avatar Jan 24 '21 22:01 fiveangle

Would be great indeed.

I have found this for now but this is a fork of nginx if I understood correctly: https://serverfault.com/a/948285

Maybe it give some help

sebastienvermeille avatar Nov 07 '22 07:11 sebastienvermeille

Issue is now considered stale. If you want to keep it open, please comment :+1:

github-actions[bot] avatar Mar 20 '24 01:03 github-actions[bot]

Bump

tristan-k avatar Mar 24 '24 11:03 tristan-k

Issue is now considered stale. If you want to keep it open, please comment :+1:

github-actions[bot] avatar Dec 15 '24 02:12 github-actions[bot]

Bump

tristan-k avatar Dec 15 '24 11:12 tristan-k

Bump

HunterAhlquist avatar Feb 07 '25 19:02 HunterAhlquist

Thank you army of fellow NPM fans for keeping this from getting auto-closed ♥️

Maybe when PG&E gets their next round of price hikes approved, I may spend a weekend to figure this out myself 😉

fiveangle avatar Feb 09 '25 23:02 fiveangle

Issue is now considered stale. If you want to keep it open, please comment :+1:

github-actions[bot] avatar Nov 11 '25 02:11 github-actions[bot]

Bump.

tristan-k avatar Nov 11 '25 10:11 tristan-k