Some more detail regarding automatic WoL on Plex access

hi,

first of all I don't use this script so please contact with original author if it may not work as expected. or if it does work as expected.

here is the firewall related part which should be replaced by the nftables rules.

as far as i see this script has two sections:

  1. set firewall rules to mark plex related traffic: adding logging which will be visible in syslog
  2. then there is a continous loop waiting for the log messages appear in syslog then accordingly wake plex server

so probably the idea is to run this script in the background (script.sh &) started from CLI. it is not a service.

hope it helps.