From owner-freebsd-net@FreeBSD.ORG Tue Jan 25 07:13:42 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B5C416A4CE for ; Tue, 25 Jan 2005 07:13:42 +0000 (GMT) Received: from piglet.slowthinkers.net (fia114-101.dsl.hccnet.nl [62.251.101.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EDA943D1D for ; Tue, 25 Jan 2005 07:13:40 +0000 (GMT) (envelope-from marcel@slowthinkers.net) Received: from piglet.slowthinkers.net (localhost [127.0.0.1]) j0P7DaS0037016 for ; Tue, 25 Jan 2005 07:13:36 GMT (envelope-from marcel@piglet.slowthinkers.net) Message-Id: <200501250713.j0P7DaS0037016@piglet.slowthinkers.net> To: freebsd-net@freebsd.org In-Reply-To: Message from Mihai Nitulescu <20050124232119.66192.qmail@web30406.mail.mud.yahoo.com> Date: Tue, 25 Jan 2005 07:13:36 +0000 From: Anne Marcel Roorda Subject: Re: public ip address behind nat X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2005 07:13:42 -0000 > I want to assign to application.example.com 193.231.43.27 and to route this i p trough nat.example.com > > Any ideea how can i do that ? > Please help. Mihai, From the man page of natd: -unregistered_only | -u Only alter outgoing packets with an unregistered source address. According to RFC 1918, unregistered source addresses are 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. That should allow you to use both private space, and assigned addressess. You can either add this option to your natd configuration file, or add it as a command line option. Regards, - marcel