Wake on Lan default port
-
Why WoL port from pfSense is the default 40000 and not 9?
22:07:51.031871 IP (tos 0x0, ttl 64, id 7979, offset 0, flags [none], proto UDP (17), length 130) pfSense.home.arpa.1452 > 192.168.1.255.40000: [udp sum ok] UDP, length 102 0x0000: 4500 0082 1f2b 0000 4011 d6ef c0a8 0101 E....+..@....... 0x0010: c0a8 01ff 05ac 9c40 006e 6f3e ffff ffff .......@.no>.... 0x0020: ffff 0011 2233 4455 0011 2233 4455 0011 ...."3DU.."3DU.. 0x0030: 2233 4455 0011 2233 4455 0011 2233 4455 "3DU.."3DU.."3DU 0x0040: 0011 2233 4455 0011 2233 4455 0011 2233 .."3DU.."3DU.."3 0x0050: 4455 0011 2233 4455 0011 2233 4455 0011 DU.."3DU.."3DU.. 0x0060: 2233 4455 0011 2233 4455 0011 2233 4455 "3DU.."3DU.."3DU 0x0070: 0011 2233 4455 0011 2233 4455 0011 2233 .."3DU.."3DU.."3 0x0080: 4455 DU
-
@GennP WOL has no defined "port".. Port doesn't matter, its a frame sent to the mac of the device you want to "wake up".. Ports 7 and 9 are used quite often because they are old protocol ports that are not normally used any more.
While you might want to use a port to send traffic through a router.. But what port you use is really meaningless when sent on the same network..
-
@johnpoz said in Wake on Lan default port:
Ports 7 and 9 are used quite often because they are old protocol ports that are not normally used any more.
But all applications I have seen use port 9, except pfSense which uses 40000.
-
@GennP said in Wake on Lan default port:
But all applications I have seen use port 9
So? Again doesn't matter.. Like I said 7 and 9 have become common use for such applications. Has zero to do with wol working or not. 9 is the old discard protocol.
Not like the nic for the wol is waiting to see traffic on a specific port.. Its waiting to see its mac in a frame.. What port used by some application as it puts it on the wire is meaningless.. Unless you were looking to forward that through router maybe when above layer 2..
As to why they landed on 40000 vs say 9, have no idea really - but doesn't matter at all.. They could of used 42666 or 9999, it makes no difference.