Specifies which transports and ports the server should listen on for SMB traffic.
The order matters only for mDNS registrations, the first
'tcp' or 'nbt' port is used for that.
The transport 'tcp' uses raw tcp with a 4 byte length header per SMB PDU.
The default port for 'tcp' is 445. Other ports can be specified by adding it
after ':', e.g. 'tcp:1445'.
The transport 'nbt' uses netbios framing on top of tcp per SMB PDU.
The default port for 'nbt' is 139. Other ports can be specified by adding it
after ':', e.g. 'nbt:1139'.
The transport 'quic' uses the quic protocol on top of udp.
The default port for 'quic' is 443. Other ports can be specified by adding it
after ':', e.g. 'quic:1443'.
The following options are also relevant:
,
,
and
.
If the files pointed to by
,
and
all do not exist,
a self-signed tls certificate is generated automatically at startup.
Note: 'quic' requires the quic.ko kernel module for Linux from
https://github.com/lxin/quic (tested with Linux 6.14). Future
Linux versions may support it natively.
Numerical ports are handled as 'tcp' except port '139' is handled as 'nbt'.
Note that's currently a limit of 10 unique transports, all others will
be ignored.
445
tcp, tcp:1445
8000, nbt:1139
tcp, quic, nbt
+quic
tcp, nbt
This is a synonym for .