Show how to create a secure (ssh) VPN

This commit is contained in:
Brian Somers 1998-10-03 13:12:14 +00:00
parent 780330ee00
commit 8842b72734

View File

@ -4,7 +4,7 @@
#
# Originally written by Toshiharu OHNO
#
# $Id: ppp.conf.sample,v 1.31 1998/08/07 18:44:31 brian Exp $
# $Id: ppp.conf.sample,v 1.32 1998/09/06 13:55:51 brian Exp $
#
#################################################################
@ -354,6 +354,17 @@ loop-in:
set log phase lcp ipcp command
allow mode direct
# If you're going to create a tunnel through a public network, your VPN
# should be set up something like this:
#
# /etc/ppp/secure (which should be executable) says:
# #! /bin/sh
# exec ssh whatevermachine /usr/sbin/ppp -direct loop-in
#
sloop:
load loop
set device !/etc/ppp/secure
# If you wish to connect to a server that will dial back *without* using
# the ppp callback facility (rfc1570), take advantage of the fact that
# ppp doesn't look for carrier 'till `set login' is complete: