From owner-freebsd-questions Sun Oct 13 7:24: 9 2002 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 8A42C37B401 for ; Sun, 13 Oct 2002 07:24:07 -0700 (PDT) Received: from mail.broadpark.no (mail.broadpark.no [217.13.4.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB37243E6A for ; Sun, 13 Oct 2002 07:24:06 -0700 (PDT) (envelope-from johann@broadpark.no) Received: from aegis.terrabionic.lan (ninja.terrabionic.com [217.13.29.51]) by mail.broadpark.no (Postfix) with SMTP id 239957D72 for ; Sun, 13 Oct 2002 16:24:05 +0200 (MEST) Date: Sun, 13 Oct 2002 16:23:59 +0200 From: Janine C.Buorditez To: questions@freebsd.org Subject: Because of NAT? Message-Id: <20021013162359.2a31f584.johann@broadpark.no> X-Mailer: Sylpheed version 0.7.6 (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Hi. My network is like this: Name: Cisco 677i-DIR (ADSL-router/modem) IP: 217.13.29.51 | v Name: Ninja (FreeBSD) IP: 192.168.187.1 | v Name: Aegis (FreeBSD) IP: 192.168.187.2 The Cisco router runs CBOS and apparently NAT. I have forwarded these ports to Ninja. The address 10.0.0.2 (somehow it has to be that address) goes to Ninja's lnc0. set nat entry add 10.0.0.2 22 0.0.0.0 22 tcp set nat entry add 10.0.0.2 25 0.0.0.0 25 tcp set nat entry add 10.0.0.2 80 0.0.0.0 80 tcp set nat entry add 10.0.0.2 53 0.0.0.0 53 tcp set nat entry add 10.0.0.2 113 0.0.0.0 113 tcp set nat entry add 10.0.0.2 1024-5000 0.0.0.0 1024-5000 tcp set nat entry add 10.0.0.2 31337 0.0.0.0 31337 tcp This should cover most things, shouldn't it? However I'm concerned the use of NAT on my router and boxes has stirred shit up. For instance, I can only connect to my OpenFTPD (on 31337) site locally. Connecting remotely gives me: lftp test@ninja.terrabionic.com:~> ls ---- Connecting to ninja.terrabionic.com (217.13.29.51) port 31337 **** Socket error (Connection timed out) - reconnecting Also I've been hearing people not getting ident requests from me. This can not be a BIND issue can it? I find it odd why my hostname sometimes doesn't resolve on EFNet, but on all the other networks I'm on. NAT, it seems, has really made networking a lot harder for me than what I deserve. I hope somebody understands my situation and are able to give useful replies. Thanks! --janine To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message