From owner-freebsd-questions Tue Dec 19 4:40: 5 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 19 04:40:01 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from nexus.plymovent.se (nexus.plymovent.se [212.247.77.253]) by hub.freebsd.org (Postfix) with ESMTP id B26E337B699 for ; Tue, 19 Dec 2000 04:40:00 -0800 (PST) Received: from tu ([192.168.1.218]) by nexus.plymovent.se (8.9.3/8.9.3) with SMTP id PAA14770 for ; Tue, 19 Dec 2000 15:09:56 +0100 (CET) (envelope-from thomas.uhrfelt@plymovent.se) Received: by localhost with Microsoft MAPI; Tue, 19 Dec 2000 13:38:16 +0100 Message-ID: <01C069C0.F0CA4900.thomas.uhrfelt@plymovent.se> From: Thomas Uhrfelt Reply-To: "thomas.uhrfelt@plymovent.se" To: "'freebsd-questions@freebsd.org'" Subject: Redirect ports with NAT Date: Tue, 19 Dec 2000 13:38:14 +0100 Organization: PlymoVent AB X-Mailer: Microsoft Internet-e-post/MAPI - 8.0.0.4211 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have an internal machine on the 192.168.10.10 adress which I want accessable via telnet from the outside world. My gateway is a FreeBSD box providing internet access for all the internal machines (192.168.1.254) and o.p.q.z as the outside static IP. My commandline start for natd: /sbin/natd -use_sockets yes -same_ports yes -u yes -dynamic yes -n ep0 -redirect_port tcp 192.168.10.10:23 8888 -redirect_port udp 192.168.10.10:23 8888 when I try to access from outside on port 8888 (using telnet) I get connection refused - there is nothing listening on this port. I must be making a fundamental thought error here, any ideas? Thank you in advance Thomas Uhrfelt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message