I have a rather strange setup and suspect that it may contribute to the fact that I can’t get WOL to turn on a computer. (I have confirmed its turned on in the computers bios)
On a Hex S I have ether1 connected to Wan, ether2-ether4 connected to the standard bridge on the 192.168.50.0/24 subnet (with none actually being used), and ether 5 connected to the computer on a special VPN-bridge on the 10.39.26.4/30 subnet. The router has an address of 192.168.50.1 and 10.39.26.5 on the respective subnets, and the computer has an address of 10.39.26.6. Try as I may I can’t get the computer to turn on using the WOL tool on the MikroTik.
router export:
/interface bridge
add name=VPN-bridge
add admin-mac=hidden auto-mac=no comment=defconf name=bridge
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/ip ipsec profile
add dh-group=modp1024 enc-algorithm=aes-256 name=VPN-profile
add dh-group=modp2048 enc-algorithm=aes-256 hash-algorithm=sha256 name=MGMT-profile
/ip ipsec peer
add address=hidden exchange-mode=ike2 local-address=hidden name=MGMT-peer port=4501 profile=MGMT-profile
add address=hidden exchange-mode=aggressive local-address=hidden name=VPN-peer profile=VPN-profile
/ip ipsec proposal
add enc-algorithms=aes-256-cbc lifetime=1d name=VPN-proposal
add enc-algorithms=aes-256-cbc lifetime=1d name=MGMT-proposal pfs-group=modp2048
/ip pool
add name=default-dhcp ranges=192.168.50.10-192.168.50.254
add name=VPN-pool ranges=10.39.26.6
/ip dhcp-server
add address-pool=default-dhcp disabled=no interface=bridge name=defconf
add address-pool=VPN-pool disabled=no interface=VPN-bridge name=VPN-dhcp
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=VPN-bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=sfp1
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
add interface=VPN-bridge list=LAN
/ip address
add address=192.168.50.1/24 comment=defconf interface=bridge network=192.168.50.0
add address=hidden comment=VPN-autogen-public interface=ether1 network=hidden
add address=10.39.26.5/30 comment=VPN-autogen-private interface=VPN-bridge network=10.39.26.4
/ip cloud
set ddns-enabled=yes ddns-update-interval=10m
/ip dhcp-client
add comment=defconf disabled=no interface=ether1
/ip dhcp-server network
add address=10.39.26.4/30 comment=VPN-autogen-dhcp-network dns-server=10.39.26.5 gateway=10.39.26.5
add address=192.168.50.0/24 comment=defconf gateway=192.168.50.1 netmask=24
/ip dns
set allow-remote-requests=yes servers=10.39.80.1
/ip firewall filter
add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=accept chain=input src-address=10.39.26.0/24
add action=drop chain=input comment="defconf: drop all not coming from LAN" in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface-list=WAN
/ip firewall nat
add chain=srcnat comment=VPN-autogen-srcnat dst-address=10.0.0.0/8 src-address=10.39.26.4/30
add chain=dstnat comment=VPN-autogen-dstnat dst-address=10.39.26.4/30 src-address=10.0.0.0/8
add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN
/ip ipsec policy
add action=none dst-address=10.39.26.4/30 src-address=0.0.0.0/0
add dst-address=10.39.26.248/30 peer=MGMT-peer proposal=MGMT-proposal sa-dst-address=hidden sa-src-address=hidden src-address=10.39.26.4/30 tunnel=yes
add dst-address=10.0.0.0/8 peer=VPN-peer proposal=VPN-proposal sa-dst-address=hidden sa-src-address=hidden src-address=10.39.26.4/30 tunnel=yes
/ip route
add distance=1 dst-address=10.0.0.0/8 gateway=VPN-bridge pref-src=10.39.26.5