OPNsense and wake-on-LAN

Started by balubeto, July 22, 2018, 10:33:29 AM

Previous topic - Next topic

Hi


I have a LAN with 8 network peripherals connected to a switch that is connected to a hardware firewall (computer). In addition, a VDSL2 router was connected to this firewall to give Internet access to the LAN.


I would like to know if I was installing OPNsense 18.1.6 in my firewall, I would be able to remotely control the power on and off of the various network devices both manually and automatically.


Thanks


Bye
balubeto

Hey,

It's not totally clear what you want to do. Would you like to set up an VPN to dial-in into your network for managing your devices? Or would you like to manage them without VPN? What do you mean wit manually and automatically? What should be the trigger for automatically?

In generally Wake-On-Lan is possible if your devices support WOL.
You can create an VPN to get access to your LAN. Then you can manage your device like you're connected to your LAN directly.

If you want to wake them up over the Internet (whitout VPN), you must configure a port forwarding rule for the WOL magic packets to your LAN.
Create an static ARP entry for an free LAN IP e.g. 192.168.1.10 with the broadcast mac address FF:FF:FF:FF:FF:FF. Forward the WAN WOL magic packets to this address, so that the packet will be broadcasted to your LAN. That means every device will receive this packet, but only the device with the mac addess of the magic packet will wake up.

To power off the devices there's no way like WOL, as far as I know. If you've an management app or something like this for them, you can shut them down remotly. But for this I would suggest the VPN solution.

Jas
Duck, Duck, Duck, Duck, Duck, Duck, Duck, Duck, Goose