I have a network connected to internet via linux box that does routing. Router has two interfaces:
- eth1: connection to internet
- eth2: lan
In lan I have two machines:
- workstation
- target
All machines work under Debian Linux.
I try to start "target" host remotely using wakeonlan tool.
When I do, on workstation:
sudo wakeonlan 94:c6:91:1b:3d:2a
after a minute or so, target host is up.
But when I do the same thing on router - target doesn't start.
I guess that it has to do with interfaces, but wakeonlan doesn't let me specify interface to send magic packet to.
Is there any way to diagnose it and potentially fix?
On router there is firewall installed (using iptables), but I don't really see any rules that would prohibit wakeonlan.