Wake on WAN
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.
Does the computer wake up if you send a Wake on LAN packet on the LAN?
Yes it does.
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.