From owner-freebsd-questions@FreeBSD.ORG Mon Jul 12 19:34:09 2004 Return-Path: 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 B14B816A4CE for ; Mon, 12 Jul 2004 19:34:09 +0000 (GMT) Received: from hotmail.com (sea1-f149.sea1.hotmail.com [207.68.163.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A18643D31 for ; Mon, 12 Jul 2004 19:34:09 +0000 (GMT) (envelope-from crollins666@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 12 Jul 2004 12:34:09 -0700 Received: from 216.19.22.118 by sea1fd.sea1.hotmail.msn.com with HTTP; Mon, 12 Jul 2004 19:34:09 GMT X-Originating-IP: [216.19.22.118] X-Originating-Email: [crollins666@hotmail.com] X-Sender: crollins666@hotmail.com From: "clayton rollins" To: linux0642@sbcglobal.net Date: Mon, 12 Jul 2004 19:34:09 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 12 Jul 2004 19:34:09.0350 (UTC) FILETIME=[33C17660:01C46847] cc: freebsd-questions@freebsd.org Subject: [from newbies]: SSH port forwarding and Webmin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 19:34:09 -0000 On July 12, 2004, Eddie wrote: > >I have webmin installed on a brand new installation of FreeBSD 5.2.1. I >tunnel port 10000 to my localhost and connect to wemin like this: > >http://127.0.0.1:10000 > >I always connect to webmin this way, with all *nix machines I admin. This >does not seem to work with FreeBSD 5.2.1. It does work out of the box for >other versions (4.7 and 4.8 at least) of FreeBSD though. Is there some rule >somewhere preventing port forwarding in 5.2? Here's my netstat output: > >bsd3c# netstat -nat >Active Internet connections (including servers) >Proto Recv-Q Send-Q Local Address Foreign Address (state) >tcp4 0 0 192.168.1.19.22 69.91.145.220.46031 >ESTABLISHED >tcp4 0 0 127.0.0.1.25 *.* LISTEN >tcp4 0 0 *.22 *.* LISTEN >tcp6 0 0 *.22 *.* LISTEN >tcp4 0 0 *.10000 *.* LISTEN >udp4 0 0 *.10000 *.* udp4 > 0 0 *.514 *.* udp6 0 >0 *.514 *.* > >webmin is running and listening on port 10000 as it's supposed to, and I >can connect to webmin on the localhost with links. The sshd config file >gives no indication that tunneling is disabled, and it has not been >modified in any way. > >I would be glad to hear what anyone's thoughts are on this. > >Eddie > Hi Eddie, freebsd-newbies is not meant for technical questions nor replies. I'm forwarding this along to freebsd-questions. (You should be CC'ed on any replies...) My first thought is that maybe 5.2.1 uses a more restrictive ruleset for firewalling or that you specified a more restrictive ruleset in rc.conf (firewall_type, which is used by rc.firewall). You can view current rules with 'ipfw show'. Of course, this all assumes you've kept ipfw as the firewall. Also, I could be missing the obvious. (That's one of the reasons to not ask on -newbies...) Regards, Clayton _________________________________________________________________ MSN 9 Dial-up Internet Access helps fight spam and pop-ups – now 2 months FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/