From owner-freebsd-questions Thu May 9 19:24:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ns.museum.rain.com (gw-ipinc.museum.rain.com [206.29.169.27]) by hub.freebsd.org (Postfix) with ESMTP id 4E5FE37B401 for ; Thu, 9 May 2002 19:24:18 -0700 (PDT) Received: from ns.museum.rain.com (localhost [127.0.0.1]) by ns.museum.rain.com (8.12.3/8.12.3) with ESMTP id g4A2OHwi003775; Thu, 9 May 2002 19:24:17 -0700 (PDT) (envelope-from list@ns.museum.rain.com) Received: (from list@localhost) by ns.museum.rain.com (8.12.3/8.12.3/Submit) id g4A2OH1J003774; Thu, 9 May 2002 19:24:17 -0700 (PDT) (envelope-from list) Date: Thu, 9 May 2002 19:24:16 -0700 From: James Long To: Brent Kearney Cc: questions@FreeBSD.ORG Subject: Re: can't connect to localhost Message-ID: <20020509192416.A3635@ns.museum.rain.com> References: <20020509152242.A26685@sfu.ca> <20020509172438.A25839@sfu.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020509172438.A25839@sfu.ca>; from brentk@sfu.ca on Thu, May 09, 2002 at 05:24:38PM -0700 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 On Thu, May 09, 2002 at 05:24:38PM -0700, Brent Kearney wrote: > > I renumbered them. Now no two rules have the same number. I > get exactly the same effect though. In my experience, the post about rule numbering is incorrect. You can indeed have multiple ipfw rules with identical rule numbers, and they are checked sequentially, in the order you "ipfw add" them, except of course in cases of divert, skipto, etc. The natd man page mentions this, plus I have at times had multiple firewall rules with the same number. Does your ifconfig look okay WRT lo0? If you set the firewall completely open, can you ping lo0? And does telnet work then? ipfw -f flush ipfw add 100 allow all from any to any ping -c3 localhost telnet localhost 25 If that works, then review your firewall rules. If the ping fails, check your loopback interface configuration. If the ping is okay, but the telnet fails, ensure that you do indeed have an MTA listening on port 25, and that inetd isn't getting in your way. With sendmail, e.g., you want the smtp lines in inetd commented out. And if all else fails, ask someone more knowledgeable than I. :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message