summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-11-12 00:52:16 +0000
committerbrian <brian@FreeBSD.org>1997-11-12 00:52:16 +0000
commit688d87aa5a3b04df02a9b4490b687b6b146f2841 (patch)
treebecd6e9fa710c93ca530f0e83208c31aebfe8544 /etc
parentc24adf31c4db2de3b1feadf6213d4a757122da9c (diff)
downloadFreeBSD-src-688d87aa5a3b04df02a9b4490b687b6b146f2841.zip
FreeBSD-src-688d87aa5a3b04df02a9b4490b687b6b146f2841.tar.gz
Some "allow" examples.
Diffstat (limited to 'etc')
-rw-r--r--etc/ppp/ppp.conf.sample19
1 files changed, 18 insertions, 1 deletions
diff --git a/etc/ppp/ppp.conf.sample b/etc/ppp/ppp.conf.sample
index a9cc1a5..3466d6f 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.22 1997/11/09 17:54:27 brian Exp $
+# $Id: ppp.conf.sample,v 1.23 1997/11/10 21:27:36 brian Exp $
#
#################################################################
@@ -164,6 +164,23 @@ examples:
#
alias deny_incoming yes
#
+# I trust user brian to run ppp, so this goes in the `default' section:
+#
+ allow user brian
+#
+# But label `internet' contains passwords that even brian can't have, so
+# I empty out the user access list in that section:
+#
+ allow users
+#
+# I also may wish to set up my ppp login script so that it asks the client
+# for the label they wish to use. I may only want user ``dodgy'' to access
+# their own label in direct mode:
+#
+dodgy:
+ allow user dodgy
+ allow mode direct
+#
# If we don't want ICMP and DNS packets to keep the connection alive:
#
set afilter 0 deny icmp
OpenPOWER on IntegriCloud