Sure its easy way.
But pay attention for my way. I think it more securely. By destination NAT.
From outside I can start my home computers...
in my case I made vlan over ''family ethernet-switching" inside - its my dmz...
unit 1 {
family inet {
targeted-broadcast {
forward-only;
}
address 172.16.76.1/24 {
arp 172.16.76.254 multicast-mac ff:ff:ff:ff:ff:ff publish;
}
}
}
nat destination....
pool wol_dmz {
address 172.16.76.254/32 port 9;
------------------------------------------------
rule wol_dmz {
match {
destination-address-name wan_ip;
destination-port 12345;
protocol udp;
}
then {
destination-nat {
pool {
wol_dmz;
}
}
}
}
policy wol_allow {
match {
source-address any;
destination-address dmz_wide;
application wol;
}
then {
permit;
}
}
For "wake on lan" for android I set:
ip(domain): mydomain.com
port: 12345
mac: personal for each device in my intranet (comp, server etc)
It's working now.
PS. Sure some "man in the middle" can define my intranet MAC's ,but what for?????