summaryrefslogtreecommitdiffstats
path: root/etc/ppp
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-10-03 13:12:14 +0000
committerbrian <brian@FreeBSD.org>1998-10-03 13:12:14 +0000
commit68b91fc27776f1e1e2ff83e57f8d06f76a9301cc (patch)
tree5df57022b78893fad5ce27c1de93b52bd07fb326 /etc/ppp
parent15de5a96483a04f668ab6b3b712e7a0c9187603a (diff)
downloadFreeBSD-src-68b91fc27776f1e1e2ff83e57f8d06f76a9301cc.zip
FreeBSD-src-68b91fc27776f1e1e2ff83e57f8d06f76a9301cc.tar.gz
Show how to create a secure (ssh) VPN
Diffstat (limited to 'etc/ppp')
-rw-r--r--etc/ppp/ppp.conf.sample13
1 files changed, 12 insertions, 1 deletions
diff --git a/etc/ppp/ppp.conf.sample b/etc/ppp/ppp.conf.sample
index 03e43fa..1eed752 100644
--- a/etc/ppp/ppp.conf.sample
+++ b/etc/ppp/ppp.conf.sample
@@ -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:
OpenPOWER on IntegriCloud