OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: gdur on September 24, 2022, 04:05:52 PM

Title: Wake on Lan
Post by: gdur on September 24, 2022, 04:05:52 PM
Hi,
I'm trying to get a remote WoL service to work but get "Default deny / state violation rule" errors all the time which to my understanding is a pre-defined floating rule. Using the OPNSense Wake-on-LAN utility works like a charm but using a remote Wake-on-LAN client on a PC connected to the OPT1 network to wake up a server on the LAN network is being blocked by this floating rule. What rule or rules do I need to apply in order to get it to work?
Thanks!
Title: Re: Wake on Lan
Post by: bartjsmit on September 25, 2022, 09:01:26 AM
WoL is a layer 2 broadcast packet and OPNsense is a layer 3 device - as are most firewalls.

You need to bridge OPT1 and LAN or move your WoL source to LAN

Bart...
Title: Re: Wake on Lan
Post by: gdur on September 25, 2022, 05:36:37 PM
Hi Bart,
Thanks a lot, that clarifies...
So I'de better make us of the OPNSense WoL Service because its unclear to me what the possible complications are while bridging.
Title: Re: Wake on Lan
Post by: bartjsmit on September 26, 2022, 07:58:00 AM
A bridge is probably a bit overkill for just WoL  :) It is likely easier to link your networks externally to OPNsense with the low cost of switches nowadays.