If you use remote desktop, remote file access, or other server software, you may leave your computer on at home or work when you leave the house. This uses more power. Instead, you could simply remotely power on your PC whenever you need to use it.
This takes advantage of Wake-on-LAN. In spite of its name, it’s possible to set up Wake-on-LAN so that you can send “magic packets” that will wake a computer up over the Internet.
Set Up Wake-On-LAN
To make this work, you’ll first have to
set up Wake-On-LAN normally. You’ll typically find this setting in a computer’s BIOS. Enter the BIOS and ensure the Wake-On-LAN option is enabled.
If you don’t see this option in your BIOS, check the computer or motherboard’s manual to see if it supports Wake-on-LAN. The computer may not support Wake-on-LAN or WoL may always be enabled with no related options in the BIOS.
The Port-Forwarding Method
Wake-On-LAN uses
UDP. Many utilities use ports 7 or 9, but you can use any port you like for this. You’ll need to forward a UDP port to all IP addresses behind your router — you can’t just forward to a specific IP address. The Wake-on-LAN packet must be forwarded to every device running behind your router, and a device will only wake up if the information in the WoL packet matches it. This is known as a “subnet directed broadcast.”
To do this, you’ll need to forward the port to the “broadcast address,” which will broadcast the packet to all computers on a network. The broadcast address is 192.168.*.255. For example, if your PC has the IP address 192.168.1.123, you’d enter 192.168.1.255 as the broadcast address. If your PC has the IP address 192.168.0.123, you’d enter 192.168.0.255 as the broadcast address.
Choose a tool for sending magic packet
When using any of these tools, you’ll need to enter four bits of information:
- MAC Address: Enter the MAC address of the network interface listening for the Wake-On-LAN packet.
- IP Address or Domain Name: Enter your router’s IP address on the Internet or a dynamic DNS address like you.ddns.com.
- Subnet Mask: You’ll also have to enter the appropriate subnet mask for the computer behind the router.
- Port Number: Enter the number of the UDP port you forwarded to the broadcast address .
The tool can then send a “magic packet” with the correct information and — if you’ve configured everything correctly — your PC will wake up.
Put together this post and
sleep tool that is perfect skill