Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 May 2000 16:00:45 +0100
From:      Daniel Brady <daniel.brady@trintech.com>
To:        "'gws@silliman.net'" <gws@silliman.net>, freebsd-questions@freebsd.org
Subject:   RE: Natd & Samba - not so happy together
Message-ID:  <F4F6A84AB884D31198F20008C724FD4A1ABADA@ntdub0e.trintech.com>

next in thread | raw e-mail | index | archive | help
Hi
have you looked at the output from tcpdump on the tun0 i/face.  I think the
windoze boxes are broadcasting netbios-ns packets to 255.255.255.255 which
will cause the dialer to activate.  Maybe try filtering this traffic and
setting your samba config to act as a wins server.
Daniel

-----Original Message-----
From: Guy Silliman [mailto:gws@silliman.net]
Sent: 22 May 2000 15:41
To: freebsd-questions@freebsd.org
Subject: Natd & Samba - not so happy together


I am using freebsd machines for lan gateways to the internet.  One of
the things I would like to do in addition to just maintaining the dialup
connection for the LAN is use the free disk space on the gateway machine
for file serving.  To do this, Samba is running and works fine for the
most part.  My problem is that whenever a computer on the network
attempts to access files on the gateway machine, the dialup connection
is activated and must connect completely prior to samba answering the
win95 box's requests.  Now I have attempted to restrict the Samba server
to the ethernet interface only, but I suspect because I am using natd
and issuing a ipfw divert statement, it is pushing that traffic over to
the tun0 device and kicking the dialup.   My question... how do I keep
samba from initiating the PPP connection?  It doesn't really need it...
but it triggers it and waits for it all the same.

Thanks in advance for any suggestions
Guy Silliman



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F4F6A84AB884D31198F20008C724FD4A1ABADA>