Configuring Samba :
you can configure the Samba server to only incorporated with certain network interfaces and hosts.Before doing this,you need to be sure about the some limitation like Samba and IPTables are being used to limit access to Samba and the setting should be reflected in both of the configuration files .
interfaces command is one of the option to configuration smb.conf file and will remove the possibility of Samba connections.This is the typical command for configuring the samba server.
Code:
interfaces = 172.16.1.1 127.0.0.1
Bookmarks