From owner-freebsd-net Thu Aug 1 10: 0:24 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8F6837B400 for ; Thu, 1 Aug 2002 10:00:16 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56BAC43E6E for ; Thu, 1 Aug 2002 10:00:16 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020801170015.JGTD23732.sccrmhc01.attbi.com@InterJet.elischer.org>; Thu, 1 Aug 2002 17:00:15 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id JAA45051; Thu, 1 Aug 2002 09:52:25 -0700 (PDT) Date: Thu, 1 Aug 2002 09:52:25 -0700 (PDT) From: Julian Elischer To: Anthony Volodkin Cc: net@freebsd.org Subject: Re: Filtering of PPPoE packets with ipfw In-Reply-To: <3D48A691.9090901@brainlink.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org oh yeah,, I forgot.. you could fix it by not assigning an IP address to the wireless card too.. i.e. ifconfig wi0 up (no address) On Wed, 31 Jul 2002, Anthony Volodkin wrote: > Hi, > > Today, I've setup a machine that allows wireless clients to initiate > PPPoE sessions with it and thus access the internet or the other network > connected to that machine. However, if wireless clients do not use > PPPoE and manually set their IP address/netmask/gateway, they will still > be allowed to access the resources. Is there a way, using ipfw to allow > only the encapsulated PPPoE packets through an interface? I can > definetly tell the difference when looking at them with tcpdump. > > On another note, how do I compile ppp with DES support? The man page > says that this is necessary for it to work with MS-CHAP v2. I cant > figure out how to do that. > > My setup involves, pppoe and ppp. In the future i might investigate > doing this with mpd as well. > > Regards, > Anthony Volodkin > http://non-standard.net/ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message