Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 1998 16:50:19 -0800 (PST)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Jonas Ericson <dow489o@tninet.se>
Cc:        questions@FreeBSD.ORG
Subject:   Re: User PPP and Packetfiltering
Message-ID:  <Pine.BSF.4.03.9810271649020.16538-100000@resnet.uoregon.edu>
In-Reply-To: <01be01c2$0d9c8fc0$9649a3c3@jonas>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 27 Oct 1998, Jonas Ericson wrote:

> I have a question about packet filtering! I use the 2.2.7 realese. I
> use my box as a Samba server aswell as a Gateway for my win95 machines
> (with user ppp ). Now for the question: When i want to access the
> Samba server from a win95 machine the -auto switch trigger the modem
> to dial and itīs nothing strange about that! but i donīt want it to be
> triggered when i want to connect to a Sambashare, only when i want to
> access the internet via http(80). I have tried to understand the
> syntax from the man ppp but have not succeded. Many Thanks!

You need to figure out why accessing Samba shares causes dialouts in the
first place.  I'm guessing it's a DNS lookup.  You can check this by doing
'set log +tcp/ip' on the PPP server, then attaching the Samba share.  PPP
should log the packet that caused the dialout.  You can then create a dial
packet filter that blocks those types of packets from causing dialouts.

Hope this helps.

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org


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?Pine.BSF.4.03.9810271649020.16538-100000>