From owner-freebsd-ipfw@FreeBSD.ORG Thu Jun 9 12:53:30 2005 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B613216A41C for ; Thu, 9 Jun 2005 12:53:30 +0000 (GMT) (envelope-from linux@giboia.org) Received: from lda.dilk.com.br (adriana.dilk.com.br [200.250.23.1]) by mx1.FreeBSD.org (Postfix) with SMTP id D4F0943D4C for ; Thu, 9 Jun 2005 12:53:27 +0000 (GMT) (envelope-from linux@giboia.org) Received: (qmail 31974 invoked by uid 98); 9 Jun 2005 12:53:27 -0000 Received: from linux@giboia.org by lda.dilk.com.br by uid 82 with qmail-scanner-1.22 (uvscan: v4.4.00/v4443. Clear:RC:1(200.250.23.66):. Processed in 0.023151 secs); 09 Jun 2005 12:53:27 -0000 Received: from unknown (HELO giboia) (linux@giboia.org@200.250.23.66) by lda.dilk.com.br with SMTP; 9 Jun 2005 12:53:27 -0000 Date: Thu, 9 Jun 2005 09:53:22 -0300 From: Gilberto Villani Brito To: freebsd-ipfw@freebsd.org Message-ID: <20050609095322.4fdeb73c@giboia> In-Reply-To: <200506081746.16756.asstec@matik.com.br> References: <43866.62.2.21.164.1117631913.squirrel@www.gwch.net> <20050608173038.2327b73f@giboia> <365B62E6-8D2E-47E1-9F86-A9CC315F88ED@mac.com> <200506081746.16756.asstec@matik.com.br> X-Mailer: Sylpheed-Claws 0.9.13 (GTK+ 1.2.10; i586-mandrake-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: natd X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jun 2005 12:53:30 -0000 Thanks for help. I would like make nat from my networks like this example: 10.1.0.0/255.255.255.0 => 200.200.200.1 10.2.0.0/255.255.255.0 => 200.200.200.2 10.3.0.0/255.255.255.0 => 200.200.200.3 10.4.0.0/255.255.255.0 => 200.200.200.4 I think I will need run many natd, one for different network. Is this right?? Gilberto On Wed, 8 Jun 2005 17:46:15 -0300 Suporte Matik wrote: > On Wednesday 08 June 2005 17:35, Charles Swiger wrote: > > > On Jun 8, 2005, at 4:30 PM, Gilberto Villani Brito wrote: > > > How can I make a nat for many different networks using different > > > real IPs using natd? > > > > People with many different networks using real IPs generally don't > > need natd, they simply use a router and/or firewall. > > > > This being said, you can use natd with real IPs exactly the same > > way as you would for RFC-1918 unroutable ones. You can run natd > > multiple times by incrementing the divert socket # for each and > > have each natd talk to a different divert socket. > > > probably he wanted to say to use a different real[outside] ip for each > inside-network > > so you can add > -a OUTSIDE_IP -p PORT > > to each natd command and running each on another port instead of using > natd_interface with -n > > > Hans > > > -- > > > Infomatik > http://info.matik.com.br > > > > > > > > A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. > Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br > _______________________________________________ > freebsd-ipfw@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw > To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org" >