From owner-freebsd-questions@FreeBSD.ORG Mon Jul 18 15:23:41 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 800D116A41C for ; Mon, 18 Jul 2005 15:23:41 +0000 (GMT) (envelope-from deralsem@deralsem.com) Received: from df08.dot5hosting.com (df08.dot5hosting.com [66.235.211.112]) by mx1.FreeBSD.org (Postfix) with SMTP id 01DA943D48 for ; Mon, 18 Jul 2005 15:23:40 +0000 (GMT) (envelope-from deralsem@deralsem.com) Received: (qmail 11306 invoked from network); 18 Jul 2005 15:26:15 -0000 Received: from unknown (HELO BUST) (82.179.222.146) by df08.dot5hosting.com with SMTP; 18 Jul 2005 15:26:15 -0000 Date: Mon, 18 Jul 2005 19:23:34 +0400 From: DerAlSem X-Mailer: The Bat! (v3.5) UNREG / CD5BF9353B3B7091 Organization: Cybenematic Games X-Priority: 3 (Normal) Message-ID: <432433990.20050718192334@deralsem.com> To: Chuck Swiger In-Reply-To: <42DBC7D6.4060305@mac.com> References: <1556383370.20050718141952@deralsem.com> <42DBC7D6.4060305@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re[2]: Real IP under NAT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: DerAlSem List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 15:23:41 -0000 Hello Chuck, Monday, July 18, 2005, 7:16:38 PM, you wrote: > DerAlSem wrote: > [ ... ] >> I've 5 external (real) IP, one is assigned on external if. Also there >> are 20 internal computers with 192.168.0.* ip's (NAT+IPFW). I need to assign one >> of that computer an external ip. Somebody told me, that it can be done >> with ARP-proxy, but i couldn't find any info on that. 10x in advance. > See "man natd": > -redirect_address localIP publicIP > Redirect traffic for public IP address to a machine on the > local network. This function is known as static NAT. Nor- > mally static NAT is useful if your ISP has allocated a small > block of IP addresses to you, but it can even be used in the > case of single address: > redirect_address 10.0.0.8 0.0.0.0 > The above command would redirect all incoming traffic to > machine 10.0.0.8. No, that won't work, because i need an external IP on LAN machine. Ext IP adresses - 1.2.3.1-1.2.3.5 Gate ext_if - 1.2.3.1 Gate int_if - 192.168.0.1 LAN (via NAT) machines - 192.168.0.2-20 Another LAN (via NAT) machine - 1.2.3.2 How? -- Best regards, DerAlSem mailto:deralsem@deralsem.com