From owner-freebsd-questions Thu Jan 13 19:16:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.greatbasin.net (mail.greatbasin.net [207.228.35.39]) by hub.freebsd.org (Postfix) with ESMTP id 390731514D for ; Thu, 13 Jan 2000 19:16:37 -0800 (PST) (envelope-from dan@jgl.reno.nv.us) Received: from jgl.reno.nv.us (rno-max12-49.gbis.net [216.82.158.113]) by mail.greatbasin.net (8.9.3/8.9.3) with ESMTP id TAA18231; Thu, 13 Jan 2000 19:16:35 -0800 (PST) Received: from danco (danco.home [10.0.0.2]) by jgl.reno.nv.us (8.9.3/8.9.3) with SMTP id TAA24056; Thu, 13 Jan 2000 19:16:21 -0800 (PST) (envelope-from dan@jgl.reno.nv.us) Message-ID: <006901bf5e3d$c2c6fce0$0200000a@danco.home> From: "Dan O'Connor" To: "Paul Skinner" , Subject: Re: 2 queries when I use my freebsd box as a dial-up router Date: Thu, 13 Jan 2000 19:15:38 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >I have two questions...firstly how do I stop the system from not only >trying to dial when I attempt to access the server itself and not >needing to dial. I setup a simple ppp filter in ppp.conf to deny it >access to the dialer when I telnet into the server and it won't let me >use telnet until its dialed in.... I ran into similar problems when I first got started with FreeBSD about a year ago... Most likey, what's triggering your dial-ups are DNS lookups. You can stop the majority of seemingly-random DNS lookups, without having to run a DNS server, by making sure all the computers on your LAN are listed in /etc/hosts. If you are running xntpd, you can stop it from causing a dialout using ppp's filters: # Prevent NTP (123) from causing a dialup: set filter dial 0 deny udp src eq 123 set filter dial 1 deny udp dst eq 123 set filter dial 2 permit 0 0 Take a look at inetd.conf and see what other servers are enabled, and do a 'ps aux' to see what daemons are running. You may find other programs which also from time-to-time do DNS lookups (sendmail is notorious for this). Try the /etc/hosts thing...hopefully, it will make your life a little quieter! --Dan ** The thing I like most about Windows 98 is... ** You can download FreeBSD with it! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message