From owner-freebsd-questions Fri Jun 28 4:51: 5 2002 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 8807C37B400 for ; Fri, 28 Jun 2002 04:51:02 -0700 (PDT) Received: from sol.chel.skbkontur.ru (sol.chel.skbkontur.ru [212.57.175.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5023D43E06 for ; Fri, 28 Jun 2002 04:51:00 -0700 (PDT) (envelope-from ilia@chel.skbkontur.ru) Received: from localhost (localhost [127.0.0.1]) by sol.chel.skbkontur.ru (8.12.3/8.12.3) with ESMTP id g5SBoqS1000628 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 28 Jun 2002 17:50:53 +0600 (YEKST) (envelope-from ilia@chel.skbkontur.ru) Date: Fri, 28 Jun 2002 17:50:52 +0600 (YEKST) From: =?koi8-r?B?6czY0SD7ydDJw8nO?= To: questions@FreeBSD.ORG Subject: ipfw: divert question! Message-ID: <20020628174822.W458-100000@sol.chel.skbkontur.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=koi8-r Content-Transfer-Encoding: QUOTED-PRINTABLE 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 Dear Sirs, I want to allow "apollo" to connect telnet,ssh,etc via natd. When I try: /sbin/ipfw add 5 divert natd ip from apollo to any via tun1 it doesn't work! it only seems to work when I add the following rule: /sbin/ipfw add 5 divert natd ip from any to any via tun1 How can I restrict all the computers but apollo from using natd ???? What did I do wrong ? Regards, (=EE=C1=C9=CC=D5=DE=DB=C9=C5 =D0=CF=D6=C5=CC=C1=CE=C9=D1) Ilia Chipitsine (=E9=CC=D8=D1 =FB=C9=D0=C9=C3=C9=CE) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message