From owner-freebsd-questions@FreeBSD.ORG Thu Jun 26 05:40:42 2003 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 66DDC37B401 for ; Thu, 26 Jun 2003 05:40:42 -0700 (PDT) Received: from mta04ps.bigpond.com (mta04ps.bigpond.com [144.135.25.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D0DE4401A for ; Thu, 26 Jun 2003 05:40:41 -0700 (PDT) (envelope-from ipv6guru@bigpond.net.au) Received: from madaboutipv6 ([144.135.25.78]) by mta04ps.email.bigpond.com (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with SMTP id <0HH300JIX9N7N7@mta04ps.email.bigpond.com> for freebsd-questions@freebsd.org; Thu, 26 Jun 2003 22:35:32 +1000 (EST) Received: from cpe-144-137-254-203.wa.bigpond.net.au ([144.137.254.203]) by psmam04bpa.bigpond.com(MAM $Name: REL_3_3_2b $ 98/14620659); Thu, 26 Jun 2003 22:35:33 +0000 Date: Thu, 26 Jun 2003 20:35:15 +0800 From: "Gav..." To: Bill Moran Message-id: <000f01c33bdf$6591ddf0$0100a8c0@madaboutipv6> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Mailer: Microsoft Outlook Express 6.00.2800.1158 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: <001301c33a58$bbfb5690$0100a8c0@madaboutipv6> <3EF867AA.8060700@potentialtech.com> cc: freebsd-questions@freebsd.org Subject: Re: Web Server not allowing external visitors 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: Thu, 26 Jun 2003 12:40:42 -0000 ----- Original Message ----- From: "Bill Moran" | | I would suggest using natd's divert capability, because I've had it working | for a while with no problems. I'm not sure if what you're trying to do will | even work. | Alter your natd_flags to something like | "-f /etc/natd.conf -redired_port tcp 192.168.0.1:80 80" | (this will direct anything that comes in on port 80 to 192.168.0.1 ... see | the man page for natd for more details on the syntax) | Hmm, no good for the current set up, I'm not trying to redirect port 80 no more, I just want to have 'this' port 80 available. Web Server on FreeBSD router machine now. And DNS updater program is also on router machine. | > // 192.168.0.2 is on ed0 card going to internal network | > //192.168.2.1 is on ed2 card going to another network (eventually web server | > proper) | > | > At this point I'd like to mention something in my ifconfig readout. | > | > Now, ed0 ed2 lp0 ppp0 seem to me to be fine (and must be if internal network | > can browse internet etc) | > | > tun0 , although above suggests it is working fine , gives me an unusual | > alias address. :- | > | > tun0: flags=8051(UP,POINTTOPOINT,RUNNING,MULTICAST> mtu 1500 | > inet 14x1xx.xxx.xxx --> 172.31.22.152 netmask 0xffffff00. | | I've seen this before. A lot of ISPs are using private IPs for a lot of | their routers and hop points. If everything is configured properly, it | works OK and doesn't cause problems (that I've seen) but ... | Get your testers to try traceroutes to see how far traffic is getting. I had | an ISP once that had an endless routing loop in one of their routers that it | took us a week to convince them wasn't our mistake. | Also ... can the testers connect via IP or hostname? Can they ping Ip or | hostname? | I'll let you know when I get an answer. | > Ok, I've masked my ISP assig ed IP address for now as it is semi-permanent, | > but why has it aliased with a Class C | > internal IP address, when all my network is Class B 192.x.x.x addresses , | > can this be the cause of why external visitors can not access my sites.??? | > | > What other information do you need ??? | | The results of ping and traceroute tests above would help narrow things down. | | -- | Bill Moran | Potential Technologies | http://www.potentialtech.com | --- Checked for Viruses (Viri) , Gav... Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.491 / Virus Database: 290 - Release Date: 18/06/2003