From owner-freebsd-questions Wed Oct 13 15:30:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from awfulhak.org (dynamic-46.max1-du-ws.dialnetwork.pavilion.co.uk [212.74.8.46]) by hub.freebsd.org (Postfix) with ESMTP id 8597E15426 for ; Wed, 13 Oct 1999 15:30:28 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id XAA03216; Wed, 13 Oct 1999 23:29:51 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id XAA01836; Wed, 13 Oct 1999 23:31:12 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <199910132231.XAA01836@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.0 09/18/1999 To: Richard Morte Cc: Brian Somers , "freebsd-questions@FreeBSD.ORG" , brian@hak.lan.Awfulhak.org Subject: Re: Problem Accessing Internet via FreeBSD Gateway In-Reply-To: Message from Richard Morte of "Wed, 13 Oct 1999 18:02:42 BST." <3804BB32.7216BDBF@sinclairassoc.force9.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 13 Oct 1999 23:31:12 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, What does ``sysctl -a | fgrep ip.forward'' say ? I'd expect the answer to be ``net.inet.ip.forwarding: 1'' indicating that the machine is forwarding packets. The difference is that because you've got a DNS on the gateway machine, it's effectively acting as a proxy for your DNS requests and is independent of the machines packet forwarding capability. ie: windows DNS --> gateway DNS --> 'net as distinct from windows app -> gateway LAN interface -> gateway default interface -> 'net > Brian Somers wrote: > > > > > Brian, > > > > > > Thank you once again for helping out. Yes, I did have TCP extensions > > > enabled but, having disabled it in rc.conf, I still have the same > > > problems. > > > > And have you got > > > > gateway_enable=YES > > > > in rc.conf too ? > > Yes I have. > > > > > > Also see my postings under "Traceroute Problems via Gateway". I think > > > its the same problem. > > [.....] > > > > Yes, and you've got a DNS on the gateway box... so DNS lookups work > > ok because nothing's being forwarded ! > > -- > Agreed, nothing's being forwarded, but I'm afraid you've lost me here... > the gateway box is configured for DNS and DNS does seem to forward > packets to the Windows clients because the IP address appears in the dos > window. But that's all that appears and the process times out. > > The only other alternative to DNS was to make sure there were > appropriate entries in /etc/hosts on the Gateway m/c and similar copies > of hosts on the windows boxes. But this didn't work so that's when I > first configured DNS. But note that the windows boxes still have > c:\windows\hosts configured correctly as a fallback in case DNS doesn't > work. > > However, since posting the original message, I have configured a dual > boot machine on the network using a spare h/drive. Same problem. Local > network accesses are OK; cannot link to the net from the 2nd FreeBSD > machine. So the problem has to be with the gateway. I have the DNS/Bind > cricket book (latest edition), Greg Lehey's excellent book and the > O'Reilley Apache book, all of which I have read and re-read many times - > but I've still got something misconfigured somewhere. I've also tried > running ppp without the -alias flag and *then* launching natd using the > -n tun0 flag, but this gives exactly the same result. > > Brian, I just seem to be completely stuck with the current symptoms and > cannot see what the underlying cause is. > > Could you tell me more about "nothing's being forwarded" and what checks > I can make? > > Kind regards, > Ric >  -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message