I want to use Wake-On-LAN with my WAG354G. In order to do that the router has to be able to port forward UDP 9 traffic to 198.168.1.255 (as I understand x.x.x.x.255 is used for broadcast). In the port forward options I can't enter the 255 as a value. Only values up to 254 are valid.
By googling, I've found the following solution. The following command is given by telnet:
Code:
ip neighbor add 192.168.1.254 lladdr ff:ff:ff:ff:ff:ff dev br0 nud permanent
The 192.168.1.254 IP is linked to the ff:ff:ff:ff:ff:ff MAC, which is also used for broadcasting. That way, by port forwarding UDP 9 traffic to 198.162.1.254, Wake-On-LAN works.
But, the thing is, that this must be done every time the router is restarted. Is there a way to implement this in the firmware somehow?
Thanks in advance,
N.