From owner-freebsd-questions Mon Jan 6 9: 3:30 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7202237B401 for ; Mon, 6 Jan 2003 09:03:29 -0800 (PST) Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83A1C43ED1 for ; Mon, 6 Jan 2003 09:02:03 -0800 (PST) (envelope-from jon@witchspace.com) Received: from witchspace.com ([80.3.251.242]) by mta03-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20030106170202.RNZF4699.mta03-svc.ntlworld.com@witchspace.com> for ; Mon, 6 Jan 2003 17:02:02 +0000 Received: (qmail 26969 invoked from network); 6 Jan 2003 17:02:01 -0000 Received: from unknown (HELO witchspace.com) (192.168.0.1) by dookie.witchspace.com with SMTP; 6 Jan 2003 17:02:01 -0000 Message-ID: <3E19B689.2090207@witchspace.com> Date: Mon, 06 Jan 2003 17:02:01 +0000 From: Jonathan Belson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021219 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: [Q] ipfw and 'me' Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hiya My ISP uses DHCP to allocate IP numbers, so currently every time the IP changes, I have to manually change my firewall rules. I've just been looking into the 'me' option for ipfw: me matches any IP address configured on an interface in the system. The address list is evaluated at the time the packet is analysed. Since the machine is a gateway, it has two network cards. Will 'me' match *both* IP address or just the first one it comes across? I only really want it to match the IP address of the external interface, not the internal one. Cheers, --Jon http://www.witchspace.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message