eduardor escreveu:If work, very well.
Of course it works, read my post on Mon Aug 25, 2008.
eduardor escreveu:Write a How to WOL over Internet
Read my post on Fri Aug 22, 2008. You can already find How to's on internet speaking about WOL over internet. The only thing that was missing is how to do a static ARP entry in BFW.
eduardor escreveu:I can´t understand how to send a broadcast packet to internet and reach your server weaking up some machine in your network. You are using a very special WOL over Internet tool?
I try many and only can put MAC addresses, because is a LAN tool. You are omitting something big
No, I'm not omitting something. It's my pleasure to explain it to you (and to everyone who will read this post).
First of all, you don't send a broadcast if you do WOL over internet. You send a broadcast if you are on the same LAN (or VLAN) than the target pc. But on the internet, you cannot send a broadcast. I use the tool from Depicus (
http://www.depicus.com/wake-on-lan/wake-on-lan-gui.aspx). With this tool, you can specify an ip address. This will not be a broadcast, it will only be sent to an ip address. In our case, it is our BFW's external ip address. But you specify the MAC address of the target pc, not the BFW mac address. In this MagicPaquet, you still have 16 times the MAC address of the target.
When BFW receives this paquet, it forwards it to the target pc (before you have to do a port forwarding for that pc, as I said in my earlier posts). But port forwarding is on layer 3 of networking ISO. On layer 2, a paquet is always sent to a MAC address, not an ip address because this concept doesn't exist on layer 2. The ARP table, which contains corresponding IP address to MAC address (similar to DNS tables which contains corresponding network names to IP address) frequently flush entries that become useless. In the case of a power down pc, his MAC address is flushed from BFW ARP table because it doesn't respond anymore.
So when the packet passes through port forwarding and is sent to the target pc, you have to make a static entry in ARP table so that port forwarding knows at wich MAC address it must send the paquet.
Now, when the target pc receives the MagicPaquet, even if it is not a broacast paquet but a direct ip addressed paquet, the network card opens the paquet because it is addressed to him, sees that is MAC address appears 16 times and then send a signal to the BIOS to power on the pc.
As you can see, when doing WOL over intrnet, there is no broadcast. It may sound strange to do WOL without doing a broadcast, but that the way it works. At least, that the way I read it on other web pages. Maybe there are other ways. And maybe not all network card will wake up a pc if the MagicPaquet is not a broadcast. But with an onboard network card from nVidia nForce 4 Ultra chipset, it works.