From owner-freebsd-newbies@FreeBSD.ORG Mon Jul 12 16:36:28 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AC4416A4CE for ; Mon, 12 Jul 2004 16:36:28 +0000 (GMT) Received: from godzilla.vipstructures.com (godzilla.vipstructures.com [216.175.208.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECC5543D53 for ; Mon, 12 Jul 2004 16:36:27 +0000 (GMT) (envelope-from etoll@vipstructures.com) Received: from localhost (localhost.vipstructures.com [127.0.0.1]) by godzilla.vipstructures.com (Postfix) with ESMTP id 2E0152844B for ; Mon, 12 Jul 2004 12:36:27 -0400 (EDT) Received: from godzilla.vipstructures.com ([127.0.0.1])port 10024) with ESMTP id 26037-05 for ; Mon, 12 Jul 2004 12:36:25 -0400 (EDT) Received: from mothra.vipstructures.com (mothra.vipstructures.com [192.168.1.3]) by godzilla.vipstructures.com (Postfix) with ESMTP id 9675E28440 for ; Mon, 12 Jul 2004 12:36:25 -0400 (EDT) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 12 Jul 2004 12:36:25 -0400 Message-ID: <9BC86C67C3AF7646B9C5382020457A9456DE5F@VIP10-WIN2K> From: "Eric Toll" To: "Eddie" , X-Antivirus: checked by Norton Anti Virus X-MTA-Mailer: Postfix 2 by Wietse Venema - http://www.postfix.org X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on godzilla.vipstructures.com Subject: RE: SSH port forwarding and Webmin X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 16:36:28 -0000 =20 > -----Original Message----- > From: owner-freebsd-newbies@freebsd.org=20 > [mailto:owner-freebsd-newbies@freebsd.org] On Behalf Of Eddie > Sent: Monday, July 12, 2004 11:23 AM > To: freebsd-newbies@freebsd.org > Subject: SSH port forwarding and Webmin >=20 > I have webmin installed on a brand new installation of=20 > FreeBSD 5.2.1. I tunnel port 10000 to my localhost and=20 > connect to wemin like this: >=20 > http://127.0.0.1:10000 >=20 > I always connect to webmin this way, with all *nix machines I admin.=20 > This does not seem to work with FreeBSD 5.2.1. It does work=20 > out of the box for other versions (4.7 and 4.8 at least) of=20 > FreeBSD though. Is there some rule somewhere preventing port=20 > forwarding in 5.2? Here's my netstat output: >=20 > bsd3c# netstat -nat > Active Internet connections (including servers) > Proto Recv-Q Send-Q Local Address Foreign Address =20 > (state) > tcp4 0 0 192.168.1.19.22 69.91.145.220.46031 =20 > ESTABLISHED > tcp4 0 0 127.0.0.1.25 *.* =20 > LISTEN > tcp4 0 0 *.22 *.* =20 > LISTEN > tcp6 0 0 *.22 *.* =20 > LISTEN > tcp4 0 0 *.10000 *.* =20 > LISTEN > udp4 0 0 *.10000 *.* =20 > udp4 0 0 *.514 *.* =20 > udp6 0 0 *.514 *.* =20 >=20 > webmin is running and listening on port 10000 as it's=20 > supposed to, and I can connect to webmin on the localhost=20 > with links. The sshd config file gives no indication that=20 > tunneling is disabled, and it has not been modified in any way. >=20 > I would be glad to hear what anyone's thoughts are on this. >=20 > Eddie >=20 Perhaps the router/NAT device will allow you to forward 10000 to 22, and = leave the FreeBSD default. More of a workaround than a solution. Only thought I had. (can someone help me with my question?) Eric