From owner-freebsd-questions Mon Jun 17 14:23:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.a1poweruser.com (oh-chardon6a-62.clvhoh.adelphia.net [68.65.175.62]) by hub.freebsd.org (Postfix) with ESMTP id 01E0B37B40D for ; Mon, 17 Jun 2002 14:23:25 -0700 (PDT) Received: from barbish (unknown [10.0.10.6]) by smtp.a1poweruser.com (Postfix) with SMTP id 3106B29 for ; Mon, 17 Jun 2002 17:26:13 -0400 (EDT) Reply-To: From: "Joe & Fhe Barbish" To: "FBSDQ" Subject: NATD redirect_port Date: Mon, 17 Jun 2002 17:23:23 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal 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 Many games require inbound packets to the game PC to have special port numbers. When these games are played on a LAN PC the NATD function translates the special game port number to an dynamic port numbers at the same time it does the ip translation of the ip address to/from private/public numbers and the game will not work. Natd has an natd.conf file command that half address this problem. Redirect_port protocol privateip:port# publicport# This special command tells NATD to bypass it's normal processing every time it gets an inbound packet with an port number of publicport# and instead of checking the NAT private IP table for the correct private ip address to use, just use the privateip:port# from this command. By entering the special port# number of the game for both port# and publicport# it will use that port number for the packet it sends to the LAN game PC. The obvious problem to this is it only allows one LAN PC to plan the game. My question, is there some other syntax of the NATD redirect_port command or some other command where I can tell NATD to use it's normal process of ip translation between private and public, but when it sees the command port number to use it on the packet it sends to the LAN pc, instead of doing it's normal dynamic port number creation? I want the ability to run the game on all the LAN pc's. Thanks for your help Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message