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

    Wake on WAN

    Scheduled Pinned Locked Moved NAT
    4 Posts 2 Posters 6.3k Views
    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.
    • R
      ripclaw
      last edited by

      I'm trying to get Wake on WAN working.  I setup a NAT to forward UDP port 9 to the broadcast address of my subnet.  I see that the rules are passing in the System Logs -> Firewall, but the computer does not wake up.  I did a packet capture on the LAN using diagnostics for port 9 but it looks like nothing gets through.  Any ideas on how to get Wake on WAN set up correctly?  Thank you.

      Also, I'm using PFSense 2.0 Beta 5.

      1 Reply Last reply Reply Quote 0
      • Cry HavokC
        Cry Havok
        last edited by

        Does the computer wake up if you send a Wake on LAN packet on the LAN?

        1 Reply Last reply Reply Quote 0
        • R
          ripclaw
          last edited by

          Yes it does.

          1 Reply Last reply Reply Quote 0
          • R
            ripclaw
            last edited by

            Ok, I was able to figure it out.  It looks like other people have tried this before, and were unable to get it to work due to the fact that FreeBSD doesn't allow directed broadcasts.  What you need to do is install the ShellCmd package and add a command to add at bootup for a static ARP entry for the machine you want to wake up.

            The command is:

            arp -s IP Address MAC Address

            Then setup a UDP port forward for the WOL packet.  The destination IP should be the IP address of the machine you are waking up.  The destination port should be the port your WOL client uses.

            Thanks to the following sources for helping me figure it out.  Hope this helps others.

            http://www.neowin.net/forum/topic/966318-wake-on-lan-from-outside-network-remote-via-internet/
            http://forum.pfsense.org/index.php?topic=31937.0
            http://www.mail-archive.com/support@pfsense.com/msg07379.html

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