summaryrefslogtreecommitdiffstats
path: root/share/examples/ppp
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-04-27 00:25:22 +0000
committerbrian <brian@FreeBSD.org>1999-04-27 00:25:22 +0000
commit1ee0c6ceb26e31e29133c72ad27d3f2d16b410bd (patch)
treeef542f28ecbe53f44e102d9176ddd8234925b2ca /share/examples/ppp
parent9a2c03d6d76e5e3efcf4e4fd7ffd836059d91408 (diff)
downloadFreeBSD-src-1ee0c6ceb26e31e29133c72ad27d3f2d16b410bd.zip
FreeBSD-src-1ee0c6ceb26e31e29133c72ad27d3f2d16b410bd.tar.gz
Specify the ssh command to use for a VPN inline.
Diffstat (limited to 'share/examples/ppp')
-rw-r--r--share/examples/ppp/ppp.conf.sample10
1 files changed, 3 insertions, 7 deletions
diff --git a/share/examples/ppp/ppp.conf.sample b/share/examples/ppp/ppp.conf.sample
index b429399..310a413 100644
--- a/share/examples/ppp/ppp.conf.sample
+++ b/share/examples/ppp/ppp.conf.sample
@@ -4,7 +4,7 @@
#
# Originally written by Toshiharu OHNO
#
-# $Id: ppp.conf.sample,v 1.2 1999/02/13 00:59:19 brian Exp $
+# $Id: ppp.conf.sample,v 1.3 1999/03/28 00:22:44 brian Exp $
#
#################################################################
@@ -316,7 +316,7 @@ radius-server:
#
direct-client:
set dial ""
- set line /dev/cuaa0
+ set device /dev/cuaa0
set sp 115200
set timeout 900
set lqrperiod 10
@@ -394,15 +394,11 @@ loop-in:
# 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
-#
# You should already have set up ssh using ssh-agent & ssh-add.
#
sloop:
load loop
- set device !/etc/ppp/secure
+ set device "!ssh whatevermachine /usr/sbin/ppp -direct loop-in"
# Example of non-PPP callback.
# If you wish to connect to a server that will dial back *without* using
OpenPOWER on IntegriCloud