Date: Thu, 10 Sep 1998 23:32:36 +0100 From: Brian Somers <brian@Awfulhak.org> To: Gerald Abshez <gerald@manhattanprojects.com> Cc: brian@Awfulhak.org, freebsd-questions@FreeBSD.ORG Subject: Re: VPN's: PPP, SSH et al... Message-ID: <199809102232.XAA04071@woof.lan.awfulhak.org> In-Reply-To: Your message of "Thu, 10 Sep 1998 11:56:04 EDT." <35F7F694.A471F0D0@smtp.manhattanprojects.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org> <http://www.Awfulhak.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809102232.XAA04071>