From owner-freebsd-questions Mon May 8 15:32:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from corinth.bossig.com (corinth.bossig.com [208.26.239.66]) by hub.freebsd.org (Postfix) with ESMTP id C7A9737BA9D for ; Mon, 8 May 2000 15:32:20 -0700 (PDT) (envelope-from kstewart@3-cities.com) Received: from 3-cities.com (unverified [208.26.241.18]) by corinth.bossig.com (Rockliffe SMTPRA 4.2.1) with ESMTP id ; Mon, 8 May 2000 15:37:03 -0700 Message-ID: <39174057.FFB18636@3-cities.com> Date: Mon, 08 May 2000 15:31:51 -0700 From: Kent Stewart Organization: Columbia Basin Virtual Community Project X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Darren Wyn Rees Cc: freebsd-questions@freebsd.org Subject: Re: ppp 'set filter' question References: <20000508215244.K13317@netlink.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Darren Wyn Rees wrote: > > I've succeeded in getting NAT working with ppp. > > I haven't configured 'dial on demand' with ppp (-auto etc), as yet. > > So, I have a simple network... FreeBSD serving other Windows machines, > as a gateway (do please correct me if I'm using the term gateway > incorrectly here). > > What I'd like to be able to do is this : > > 1) give the Windows machine a simple means to determine > if the FreeBSD machine is online > > 2) give the Windows machine a restricted means of 'bringing the link up', > ie. connecting to the Net. > > For (1) I considered configuring a simple finger client to > finger a port on the FreeBSD machine which cat-ted a "online" > or "offline". But I couldnt' find an MSDOS finger client ! > I thought a simple shortcut on the Windows desktop that opened > an MSDOS box would suffice. Does this sound reasonable ? > I don't want to force users of the Windows machine to launch > a large application to find out a tincy little bit of info. > > For (2), I'm unsure. I understand I can use 'set filter'. > I've read the ppp man pages, and the 'Packet Filtering' section > (and there was a hint on packet filtering in a sample ppp.conf > that came with Walnut Creek CD). I'd like to allow the > users of the Windows machines to dial-up by doing something > very definite. How do other people solve this one ? Personally, I setup user-ppp to auto start in the background, nat, and demand dial. I currently have a runppp.sh in .../rc.d. I usually ping my ISP and it dials. I use an alias to ping -n 10 -w 10000 my.isp.com. Unless there is a problem of some sort, I start getting a response on the 3rd ping. If it times out completely, something is going on and I go down to my gateway computer with the modem to see and hear what is happening. I use user-ppp because it is easy to drop, dial, and quit all using pppctl. Kent > > Thanks for any useful tips. > > Darren > > PS. I'm /very/ impressed with this OS. Putting it lightly. > It's a lot of fun. It rocketh. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Kent Stewart Richland, WA mailto:kstewart@3-cities.com http://www.3-cities.com/~kstewart/index.html FreeBSD News http://daily.daemonnews.org/ SETI(Search for Extraterrestrial Intelligence) @ HOME http://setiathome.ssl.berkeley.edu/ Hunting Archibald Stewart, b 1802 in Ballymena, Antrim Co., NIR http://www.3-cities.com/~kstewart/genealogy/archibald_stewart.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message