[Samba] Re: Connecting to Samba from an external subnet

Jay B Knotts jbk at paragonsys.com
Fri Oct 8 17:08:05 GMT 2004


Make sure "hosts.allow" gives permission to the external ip address too.

-----Original Message-----
From: Igor Belyi [mailto:sambauser at katehok.ac93.org] 
Sent: Thursday, October 07, 2004 10:26 PM
To: samba at lists.samba.org
Subject: [Samba] Re: Connecting to Samba from an external subnet


Gary Green wrote:
> I'm new to samba, but I've been reading a few guides and I think I 
> have
> it set up somewhat correct.  Connecting to it via linux or windows on 
> the local lan is no problem, as long as the personal firewall settings 
> are allowing it.
> 
> Problem is I still can't get any computer off the LAN to connect to 
> it.
> At first I thought maybe it was the server's firewall settings, so I 
> pretty much dropped all protection and made it as open as possible:
> 
> $IPTABLES -P INPUT ACCEPT
> $IPTABLES -F INPUT
> $IPTABLES -P OUTPUT ACCEPT
> $IPTABLES -F OUTPUT
> $IPTABLES -P FORWARD DROP
> $IPTABLES -F FORWARD
> 
> Obviously a security risk, but I just wanted to find the problem.
> Unfortunately this didn't solve the problem.  I didn't see much about 
> what I can set in smb.conf to address external networks.  The only thing 
> I added was "hosts allow = ALL" but again, no luck.
> 
> Is there something specific I need to do to make samba work over the
> internet?
> 
> Thanks for any help

Does your Samba listen on "off the LAN" interface? Check your 
"interfaces" and "bind interfaces only" parameters in smb.conf

Igor

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list