From owner-freebsd-questions Fri Nov 17 14:31:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fep01-svc.swip.net (fep01.swip.net [130.244.199.129]) by hub.freebsd.org (Postfix) with ESMTP id 5E81537B479 for ; Fri, 17 Nov 2000 14:31:46 -0800 (PST) Received: from tng ([193.217.209.233]) by fep01-svc.swip.net (InterMail vM.5.01.01.01 201-252-104) with SMTP id <20001117223144.LASX22986.fep01-svc.swip.net@tng> for ; Fri, 17 Nov 2000 23:31:44 +0100 From: "Eirik Apeland" To: "freebsd-questions@FreeBSD.ORG" Date: Fri, 17 Nov 2000 23:34:09 +0100 Reply-To: "Eirik Apeland" X-Mailer: PMMail 98 Standard (2.00.1500) For Windows NT (4.0.1381;5) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: ipfw question Message-Id: <20001117223144.LASX22986.fep01-svc.swip.net@tng> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi. I'm running a "simple" firewall with the rc.firewall script, and have added a few lines of my own to it. I have a dailup connection to my ISP, so I can't use a "real" IP for my ISDN card. Anyone know how to implement the IP I'm getting from my ISP into my ipfw rules? ex. # set these to your outside interface network and netmask and ip oif="isp0" onet="0.0.0.0" omask="255.255.255.0" oip="0.0.0.1" # set these to your inside interface network and netmask and ip iif="xl0" inet="10.0.0.0" imask="255.255.255.0" iip="10.0.0.10" # Stop spoofing ${fwcmd} add deny all from ${onet}:${omask} to any in via ${iif} This rule will be all wrong as it is today. Hope you understand what I'm after here :) Regards Eirik To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message