Question
Can I restrict samba to listen only on specified interfaces?
Answer
Yes, use ucr
for this.
ucr set samba/interfaces/bindonly=yes
ucr set samba/interfaces="lo eth0"
So Samba will listen only on interfaces lo and eth1 (and ignoring any other interfaces)
Note: Make sure you always include the “lo” interface otherwise important UCS functions will not work.