From owner-freebsd-questions Tue Oct 27 18:40:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA07463 for freebsd-questions-outgoing; Tue, 27 Oct 1998 18:40:48 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA07431 for ; Tue, 27 Oct 1998 18:40:42 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (root@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id CAA00982; Wed, 28 Oct 1998 02:39:47 GMT (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id BAA03138; Wed, 28 Oct 1998 01:06:51 GMT (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199810280106.BAA03138@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: "Jonas Ericson" cc: questions@FreeBSD.ORG Subject: Re: User PPP and Packetfiltering In-reply-to: Your message of "Tue, 27 Oct 1998 16:54:17 +0100." <01be01c2$0d9c8fc0$9649a3c3@jonas> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Date: Wed, 28 Oct 1998 01:06:51 +0000 From: Brian Somers Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id SAA07445 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi! > 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! Have a look at http://www.Awfulhak.org/ppp.html. There's a link to the current ppp.conf.sample which has some filtering stuff. If you want to use an older version of ppp, you'll need to use ``set Xfilter blah'' instead of ``set filter X blah''. > J.B.Ericson > dow486o@tninet.se -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message