Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Issues with WoL

    Firewalling
    5
    12
    1.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dmd1234498
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • dotdashD
        dotdash
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • D
          dmd1234498
          last edited by

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

          1 Reply Last reply Reply Quote 0
          • dotdashD
            dotdash
            last edited by dotdash

            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.

            1 Reply Last reply Reply Quote 1
            • DaddyGoD
              DaddyGo
              last edited by DaddyGo

              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)

              Cats bury it so they can't see it!
              (You know what I mean if you have a cat)

              dotdashD JKnottJ 2 Replies Last reply Reply Quote 0
              • dotdashD
                dotdash @DaddyGo
                last edited by

                @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.

                1 Reply Last reply Reply Quote 1
                • JKnottJ
                  JKnott @DaddyGo
                  last edited by

                  @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.

                  PfSense running on Qotom mini PC
                  i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                  UniFi AC-Lite access point

                  I haven't lost my mind. It's around here...somewhere...

                  DaddyGoD 1 Reply Last reply Reply Quote 0
                  • DaddyGoD
                    DaddyGo
                    last edited by DaddyGo

                    @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

                    Cats bury it so they can't see it!
                    (You know what I mean if you have a cat)

                    1 Reply Last reply Reply Quote 0
                    • DaddyGoD
                      DaddyGo @JKnott
                      last edited by

                      @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."

                      ☺

                      Cats bury it so they can't see it!
                      (You know what I mean if you have a cat)

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator
                        last edited by

                        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..

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                        1 Reply Last reply Reply Quote 0
                        • D
                          dmd1234498
                          last edited by

                          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!

                          1 Reply Last reply Reply Quote 0
                          • johnpozJ
                            johnpoz LAYER 8 Global Moderator
                            last edited by

                            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.

                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                            If you get confused: Listen to the Music Play
                            Please don't Chat/PM me for help, unless mod related
                            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.