Hi,
Hoping someone out there a bit more familiar with Gargoyle can help me out, i'm writing a script to wake my plex media server when a client tries to access it over port 32400 to save me having to manually wake via a separate app before hand.
I'm basing my script off this:
https://github.com/RMerl/asuswrt-merlin ... et-Traffic
I'm having problems with this command:
dmesg | awk '/ACCEPT/ && /DST='"$TARGET"'/ && /DPT='"$PORT"'/ {print }' | tail -1
dmesg doesn't seem to include any messages that show traffic or connection attempts as expected by this script. I've set conloglevel to 7 thinking this might be the cause but still nothing.
Is dmesg the right command to use or is there another command I can use in my gargoyle script to intercept the attempted access and wake if necessary?
On v1.6.2
Thanks