When using Samba, is there a way to configure it so it only listens on a certain interface/ip address? I guess I could start it with tcpserver and only have that listen on 1 ip, but is there a way to do it via Samba itself?
Either of the above 'interfaces' lines should work for you as long as you include the bind interface only line as well. You can list interfaces several ways. I believe the newer sample smb.conf files that come with the Samba distribution along with the Samba docs/man pages have a good deal of info on this topic. It does work very well.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.