diff options
author | brian <brian@cvs.openbsd.org> | 1998-10-03 13:12:41 +0000 |
---|---|---|
committer | brian <brian@cvs.openbsd.org> | 1998-10-03 13:12:41 +0000 |
commit | bc89891bf8f4742090a32c81b18e8c2b8ce83b23 (patch) | |
tree | 8d91e3b49b321341b22707fd62a380bb909110d2 /etc/ppp | |
parent | 9a25e1a0b1265a2fda53332355747f68e01488cb (diff) |
Show how to create a secure (ssh) VPN
Diffstat (limited to 'etc/ppp')
-rw-r--r-- | etc/ppp/ppp.conf.sample | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/etc/ppp/ppp.conf.sample b/etc/ppp/ppp.conf.sample index ed412076e03..aa2f5de5d51 100644 --- a/etc/ppp/ppp.conf.sample +++ b/etc/ppp/ppp.conf.sample @@ -4,7 +4,7 @@ # # Originally written by Toshiharu OHNO # -# $OpenBSD: ppp.conf.sample,v 1.8 1998/09/23 07:30:58 todd Exp $ +# $OpenBSD: ppp.conf.sample,v 1.9 1998/10/03 13:12:40 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: |