From owner-freebsd-questions Thu Sep 10 16:14:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA22620 for freebsd-questions-outgoing; Thu, 10 Sep 1998 16:14:49 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA22595 for ; Thu, 10 Sep 1998 16:14:36 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (root@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id XAA05259; Thu, 10 Sep 1998 23:33:55 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id XAA04071; Thu, 10 Sep 1998 23:32:41 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199809102232.XAA04071@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Gerald Abshez cc: brian@Awfulhak.org, freebsd-questions@FreeBSD.ORG Subject: Re: VPN's: PPP, SSH et al... In-reply-to: Your message of "Thu, 10 Sep 1998 11:56:04 EDT." <35F7F694.A471F0D0@smtp.manhattanprojects.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 10 Sep 1998 23:32:36 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Two questions: > > 1) (A more basic PPP question) I can't see any machine other then the > other end of > the PPP connection. Yes, I did enable IP Forwarding. Some other > config problem that > I might have overlooked? The netmask on a POINTOPOINT link is ignored by the kernel. You need to add a specific route to the remote network. If for example, you've got 1.2.3.0/24 on the remote end, a line like this should do the job: add 1.2.3.0/24 HISADDR I'm assuming the latest version of ppp again - you can get it via http://www.Awfulhak.org/ppp.html. > 2) I'd like to automate the process. My hope is to get something going > like the on-demand > dialing function, where packets going to the remote network cause > the ppp connection to > happen. Am I dreaming? No problem.... your dream is a reality :-) Just get the latest ppp, use the !command syntax for the device, add the above ``add'' line and run ``ppp -auto whatever'' and you should be there. > If I can figure this out, and do it in a nice way, I'm only more then > willing to package the whole > thing and donate it back to the project. > > Thanks, > Gerald -- 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