Issues with WoL



  • Hey all. Having an issue with Wake on Lan. I set my PFSense router up on an optiplex and am having one heck of a time getting WoL to work. It's not a huge deal, but it would be cool to be able to wake devices locally without having to get up, or take it a step further and WoL through my VPN. I have set WoL in the BIOS as well as configured the driver software through Windows. There is a light on my desktop's ethernet port when it is off, so the settings seem right. It is also good to mention that with Wireshark, my computers are not getting WoL packets. Seems like an issue on PFsense's side. Not a big deal, just kinda stumped!

    I appreciate all help, thanks in advance!

    Not sure if Firewalling is the right place to put this. I apologize if there is a better place.



  • I doubt it's the firewall- it's just sending a packet, which is the easy part. I recently went through this as I have had more time to fiddle with my home network. In addition to the BIOS settings, I had to load the Intel drivers for the NIC (Win 10), tick all the new WOL boxes for the NIC, and disable the HiberbootEnabled reg key.



  • Shouldn't I still be able to see the packet come through though?



  • Not sure. I just tried running a capture on LAN while I sent A WOL from another tab and I didn't see it. The PC booted up though.
    Edit- I did a default capture, the machine I used doesn't have Wireshark, so I may have missed it due to the detail level being default.



  • haho, this is one Layer2 the other Layer3 ....

    use OpenVPN in bridge mode VPN & LAN share layer 2 segment, TAP device

    (WOL only has MAC address information, so it is not possible to cross the router)



  • @DaddyGo
    I was assuming the OP meant he wanted to connect via VPN, open the webgui of pfSense, and send a WOL packet to a machine on the LAN.



  • @DaddyGo said in Issues with WoL:

    (WOL only has MAC address information, so it is not possible to cross the router)

    It's also possible to use WoL with UDP, so it can be passed through routers.



  • @dotdash :

    Ááá_oupsss, I understand, but it is completely misleading:
    dmd1234498 "WoL through my VPN"

    PfSense handles WOL well, we have been using it for years, it will be more of an internal Layer2 config issue.

    9a181cc8-36ba-4022-a70e-9ca8c499f734-image.png

    I can suggest / give a little WOL tester so she/he don't have to run Whireshark in many places, although it would work on a mirror port on the switch, if she/he can't find where she/he loses the magic package:

    WOL_diag.zip



  • @JKnott

    FROM: https://serverfault.com/
    "forward UDP port 9 at your router from VPN side (when using VPN layer 3 subnet with TUN device),
    forward UDP port 9 at your router form Internet side."

    ☺


  • LAYER 8 Global Moderator

    You can for sure see these packets in packet capture..

    Sniff on the broadcast IP of your network.. example 192.168.1.255 if your using 192.168.1.0/24

    I believe pfsense sends out on port 40000, this will be a udp packet..

    Here I just sent a couple and sniffed them.

    wol.jpg

    Yup its sending them on port 40k..



  • I got it working. The issue was with the computers themselves. @dotdash Said he was getting it to work without Wireshark seeing WoL packets. I have it working but Wireshark doesn't see the packets coming through. Just got them all working, headache was with the way windows was handling shutdowns and with the way RoG boards handle leaving the NIC on. Thanks a ton guys!


  • LAYER 8 Global Moderator

    But sure not right away seeing the wol packet leave pfsense got you wondering if was actually going out on the wire..

    But going forward you can sniff them on pfsense, you just have to look for them specifically or they can be easy to miss.


Log in to reply