From owner-freebsd-net Wed Feb 17 12:43:53 1999 Delivered-To: freebsd-net@freebsd.org Received: from postoffice2.direcpc.com (mail.direcpc.com [198.77.116.30]) by hub.freebsd.org (Postfix) with ESMTP id 738D21156B for ; Wed, 17 Feb 1999 12:43:51 -0800 (PST) (envelope-from snowfox@snowfox.net) Received: from BrianM ([206.71.119.54]) by postoffice2.direcpc.com (Post.Office MTA v3.1.2 release (PO203-101c) ID# 0-45425U50000L50000S0) with SMTP id AAA17792 for ; Wed, 17 Feb 1999 15:44:29 -0500 Message-ID: <012101be5ab6$32a25640$4504a8c0@BrianM.highvoltage.com> Reply-To: "SnowFox" From: "SnowFox" To: Subject: natd - masquerade and multihoming Date: Wed, 17 Feb 1999 14:43:35 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have an ISDN connection with a static subnet. I'm adding cablemodem with a single dynamic IP. ISDN via ppp - 3 bit (/3) static subnet cable via ed0 - dynamic address Internally, some machines with IPs in the ISDN account static subnet, some with unregistered (10.0.0.0/8) addresses. public.foo.org via ed0 - real_network_address/3 fake.foo.org via ed0 - 10.0.0.0/8 I want all the foo.org machines to access the world via the cable modem, and I want the world to see the static subnet via their ISDN addresses. If I start with the rc.conf "open" firewall and natd set "yes", this seems to be what I need to do: ipfw add divert natd all from any to cablemodem_address via ed0 *But* how would I prevent IDSN packets from ppp from being routed to the cablemodem instead of the local machines then? Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message