

You want to forward port 22 (default for SSH, if you changed the port for SSH act accordingly) and forward it to the WIFI IP (you can check the assigned IP by typing ifconfig in terminal). Log in to your router *(see router instructions) and find the settings for port forwarding. You will need access to your router, nowadays most of them have the port forwarding option. This means we can now expose the SSH port on the router and forward it to the RaspberryPI. I stressed the static IP for WIFI and LAN for a reason in step 2. Otherwise, we will need few more things to take care of.
ANYDESK WAKE ON LAN PC
You can skip to the next step if you don't need to wake up your PC from outside of your local network. You could save it also as a bash file (save it as wol.sh): #!/bin/bashsudo etherwake-i eth0 AA:BB:CC:DD:EE:FFĪnd open the file with sudo bash /path/to/file/wol.sh You will have to issue this command via SSH (or type in terminal) each time you want to wake up the PC. This method requires sudo, but allows you to specify the interface, which is what we need.

The command to wake your PC up is: sudo etherwake -i eth0 AA:BB:CC:DD:EE:FF (click on the details of that connection to reveal the IP and MAC listed as AA:BB:CC:DD:EE:FF in the example ). Once this is installed, you have to go to the PC and note the MAC address of the LAN adapter the RPI is connected to.
ANYDESK WAKE ON LAN INSTALL
The best way to do this is to use the etherwake: sudo apt-get install etherwake This is important because we have to force the Magic Packet to go through the eth0 instead of WIFI. If you configured the RPI in the same way as in the Guide 2 (see step 2) your microcomputer will have a link via LAN with the computer but will use the WIFI to connect to the internet.
ANYDESK WAKE ON LAN FREE
Feel free to connect via Facebook, Twitter or Google+ Love the sound of this setup? Follow the for more. a PC which has a LAN port with Wake On Lan support (most of them).a Raspberry Pi with the ethernet port and WIFI connectivity.When the Magic Packet is received by the PC via LAN cable, it wakes up. The RPI is constantly awake and is able to receive a request to wake the PC through the LAN interface. If your PC is connected to the internet via WIFI, and the card does not support Wake on LAN, you have no other options of waking up the PC remotely. Running a LAN cable may not always be a feasible solution. You can wake up the PC within seconds when needed, saving a lot of power in the process. This means you no longer have to keep your PC on, to access the files remotely. It can be done on the local network as well as from the internet. You can wake up any PC linked to the Raspberry Pi remotely. The Raspbian image has changed, and the old version is no longer valid. First of all, this is an updated revision of my previous tutorial.
