From owner-freebsd-questions Thu Sep 3 12:26:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA04392 for freebsd-questions-outgoing; Thu, 3 Sep 1998 12:26:05 -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 MAA04320 for ; Thu, 3 Sep 1998 12:25:57 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id TAA24948; Thu, 3 Sep 1998 19:58:13 +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 NAA04866; Thu, 3 Sep 1998 13:51:29 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199809031251.NAA04866@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: gerald@manhattanprojects.com (Gerald Abshez) Cc: freebsd-questions@FreeBSD.ORG Subject: Re: VPN's: PPP, SSH et al... In-reply-to: <35E48D74.B884C9CF@smtp.manhattanprojects.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 03 Sep 1998 13:51:25 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi there, > > I'm trying to get a VPN going with SSH and PPP. I'm trying to use > userland PPP, and am having > a few problems with it. I'm not a PPP expert, and I can't really tell > what it's supposed to do. What > I think I'm aiming for is a PPP over the IP connection; however, > I can't seem to get them to talk > to each other. Anyone have *any* idea of what I'm talking about? First, try to get a working tunnel as per the example in ppp.conf.sample. Assuming you can do that, you should then be able to do it via ssh with something like: set device !/etc/ppp/secure-connection and create /etc/ppp/secure-connection (with execute permissions): #! /bin/sh exec &0 exec ssh -f -L 1234:theothermachine:theothermachinesport theothermachine sleep 20 theothermachine is the machine name of the peer, and theothermachinesport is the port number that you used in /etc/services on the peer to listen for the incoming ppp connection. I'm afraid I've never tried this, but it *should* work :-) > 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