We have a Samba server running on a gateway. However whenever a client connects to it, Samba tries to report it to peers on the second interface who happens to be connected to a cable modem and our ISP. Is there a way to avoid this? I already have set up the interfaces prameter to the intranet interface but doesn't seem to solve the problem. -- Jean Francois Martinez Project Independence: Linux for the Masses http://www.independence.seul.org
Did you consider using a firewall that avoids this traffic? Would make your system safer, if you have a direct internet connection.> We have a Samba server running on a gateway. However whenever a > client connects to it, Samba tries to report it to peers on the second > interface who happens to be connected to a cable modem and our ISP. > Is there a way to avoid this? I already have set up the interfaces > prameter to the intranet interface but doesn't seem to solve the > problem.> -- > Jean Francois Martinez> Project Independence: Linux for the Masses > http://www.independence.seul.org
Hello JF Can you figure out which "outside" service your samba-gateway-multipurpose-machine is trying to connect to via the modem? It might be that samba is unable to resolve the clients' netbios names and tries to figure them out over DNS queries. In that case set samba to act as WINS server or (if you have another WINS Server in your domain) to resolve names at another server. Disabling netbios-ssn and netbios-ns calls on the outgoing interface would help as well (brute force, that is). Hope it helps a little. markus