Greedo's tip is the key to getting wake-on-LAN to work across the internet. I have recently set up Wake On LAN on a neighbour's PC so that I can wake up his PC from my powerbook. Both our computers are connected via routers to ADSL connections. The steps are as follows.
Oct 28, 2019 A simple program that can send 'magic packets' to wake up sleeping computers supporting Wake on LAN (called Wake for Ethernet network administrator access in Mac OS X). What's new in WakeOnCommand Version 1.0.2: Changed the name to WakeOnCommand, added to the Mac App Store, and updated the interface for compatibility with macOS Catalina.
1. Ensure, as in the original hint, that the PC will aknowledge and act on the 'Magic Packet' that is sent to wake it up.
2. Manually assign the PC an IP address. Note down the MAC address of the PC's Ethernet card at the same time.
3. Choose a port number, any one will do as long as it is not used by another network service. If the PC is running a firewall open this port on the firewall. Ensure that traffic is set to UDP not TCP.
4. Find out what your external IP address is. You can get this by going to WhatIsMyIP.com
The RubyGems package which is stock on Mac, can also be used to install a wake on lan app. Just use the gem install wol command in terminal. It will install the activity in /usr/bin/local/wol. This avoids having to install brew or package managers. Apr 14, 2020 Step 2: Windows operating system WoL setup. Open Device Manager. Find and open Network adapters. Ignore Bluetooth connections and virtual adapters. Double-click (or double-tap) Network adapters or select the. Right-click or tap-and-hold the adapter that belongs to.
5. Set up port forwarding on your router so that any traffic arriving on the port that you just opened is directed to the PC. Again make sure the port traffic is specified as UDP.
Wake On Lan Without Mac
6. Use a WakeOnLAN program to send a wake-up packet to the PC as described above.
This becomes really useful if you have Microsoft's excellent Remote Desktop. (Requires Windows XP to be installed on the PC.) Working on a real PC, even over a 512K ADSL connection, is much faster than using Virtual PC and with Remote Desktop any discs inserted into your mac or any volumes mounted become available to the PC.
When you have finished working you can shutdown the PC by opening a DOS prompt and typing 'shutdown' without the quotes. Most modern PCs will shutdown completely within 15secs. This doesn't work on all computers. For further info read this.