From owner-freebsd-net Sat Apr 10 6:43:40 1999 Delivered-To: freebsd-net@freebsd.org Received: from hw (unknown [159.226.21.134]) by hub.freebsd.org (Postfix) with SMTP id 02FCC14D28 for ; Sat, 10 Apr 1999 06:43:34 -0700 (PDT) (envelope-from qhy@hw.ia.ac.cn) Received: from [159.226.21.172] by hw (4.1/SMI-4.1) id AA20676; Sat, 10 Apr 99 21:23:22 CST Date: Sat, 10 Apr 1999 21:44:27 +0800 (CST) From: Que Hongyu X-Sender: qhy@freebsd.hanwang.com.cn To: net@freebsd.org Subject: NAT help Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I am using 3.1-RELEASE and want to use NAT. here is my situation: I have only one net card with primiary IP: 159.226.21.172/255.255.255.192 I add alias to it, 10.1.1.1/24. then I want to NAT 10.1.1.0/24 to outside internet. After reading some document, I have tried add options IPFIREWALL options IPDIRVERT options IPFIREWALL_DEFAULT_TO_ACCEPT plus, ipfw add divert all from any to any via ed1 But It does not work , can anyone give me some hints? Thanks Que Hongyu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message