From owner-freebsd-net Mon May 20 10:41:37 2002 Delivered-To: freebsd-net@freebsd.org Received: from mailg.telia.com (mailg.telia.com [194.22.194.26]) by hub.freebsd.org (Postfix) with ESMTP id 5DB9B37B715 for ; Mon, 20 May 2002 10:39:41 -0700 (PDT) Received: from d1o1000.telia.com (d1o1000.telia.com [217.208.12.241]) by mailg.telia.com (8.11.6/8.11.6) with ESMTP id g4KHdeT26740 for ; Mon, 20 May 2002 19:39:40 +0200 (CEST) Received: from veidit.net (h54n1fls35o1000.telia.com [217.210.234.54]) by d1o1000.telia.com (8.10.2/8.10.1) with ESMTP id g4KHdea23312 for ; Mon, 20 May 2002 19:39:40 +0200 (CEST) Message-ID: <3CE934D8.9010302@veidit.net> Date: Mon, 20 May 2002 19:39:36 +0200 From: John Angelmo User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc2) Gecko/20020513 X-Accept-Language: en-us, en MIME-Version: 1.0 To: net@freebsd.org Subject: "dynamic" ipfw Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Hello I have a small problem with IPFW How can I handle adding and removing rules based on IP/MAC per user? I can add a rule for a specific IP/MAC without the need to flush but can I remove it in the same way? now lets say I have a user that only needs access to it's mailserver mail.user.com with pop3 and smtp then the rule for pop3 would be something like add allow ip from mail.user.com 110 to IP/HOST (MAC dosn't work here right?) Now mail.user.com uses runrobin so the IP changes from request to request but dosn't the IPFW resolve the IP when its added to the rules, how can this be solved for the user? /John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message