How to route Netbios NBT UDP packets over a VPN?

I hope I'm not adding more noise here.


So I got my IKEv2 tunnel working alright, with all traffic except local (192.168.0/24) sent to it. 🙂


Now, I'd like to use smbutil to probe the IP of machines in my company's network, at the other end of the VPN. Since all machines use DHCP, I have no fixed IP to provide.


Using smbutil doesn't work: the UDP netbios NBT query packet is sent outside the tunnel (to 192.168.0.255, rather than to the local network at work, which is 172.31/16). Neither can I connect using the Finder, of course. Is there a way to change this behavior?


Also, many posts mention /etc/smbd.conf or a similar file as a standard config file for samba on MacOS, but it has obviously disappeared in 10.14. Any idea where it has gone?


TIA,

Vincent