On Mon, Apr 06, 2020 at 02:45:53PM +0200, Vieri Di Paola wrote: > Hi, > > Is it possible to forward WOL magic packet on a network like thie one > I'm showing below? > > HOST running "wakeonlan -i 10.215.255.255 <MAC_ADDR>" (in loc1 zone) > --- Shorewall FW router --- HOSTS in loc2 zone (MAC_ADDR found here) > > An ACCEPT rule from loc1 to loc2 for UDP port 9 does not seem to work. > > Not being a bridge (SW FW router), is it simply impossible to forward > this kind of traffic? > Keep in mind that MAC is only meaningful on the same network segment or collision domain. To do what you describe you would need a daemon running on the Shorewall FW router which will answer ARP requests for <MAC_ADDR> and then handle forwarding the packets as appropriate. However, then you also need logic to handle all the non-WOL packets that will be recieved as well.
Is there any what that you can run wakeonlan on the Shorewall FW router? That should simplify things since that machine will be in the two network segments by virtue of being a router between them. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com _______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users