Post subject: Re: WOL over net
Posted: Tue Nov 17, 2009 2:03 am 


Forum Veteran



Joined: Fri Aug 17, 2007 8:42 am
Posts: 730 
Karma: 24
It's way easier:

example LAN segment is: 192.168.1.0/24

create static arp entry to resolve IP -> broadcast
Code:
/ip arp add address=192.168.1.254 comment="" disabled=no interface=LAN mac-address=FF:FF:FF:FF:FF:FF


create a NAT rule to forward packet on specific to this IP (effectively sending it to broadcast MAC)
Code:
/ip firewall nat add chain=dstnat action=dst-nat to-addresses=192.168.1.254 to-ports=7 protocol=udp dst-port=7000


tell your WoL client to send a packet to <your IP> port 7000. packet comes in, get's forwarded to broadcast MAC out LAN interface to port 7.

Works great.

_________________
Doug

출처 : http://forum.mikrotik.com/viewtopic.php?f=9&t=36718
참고 : http://wiki.mikrotik.com/wiki/Wake_on_lan


+ Recent posts