From owner-freebsd-questions Tue Oct 27 16:51:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA24473 for freebsd-questions-outgoing; Tue, 27 Oct 1998 16:51:03 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA24462 for ; Tue, 27 Oct 1998 16:51:00 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id QAA23695; Tue, 27 Oct 1998 16:50:20 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Date: Tue, 27 Oct 1998 16:50:19 -0800 (PST) From: Doug White To: Jonas Ericson cc: questions@FreeBSD.ORG Subject: Re: User PPP and Packetfiltering In-Reply-To: <01be01c2$0d9c8fc0$9649a3c3@jonas> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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