summaryrefslogtreecommitdiffstats
path: root/etc/ppp/ppp.conf.server.sample
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-10-18 03:45:19 +0000
committerjkh <jkh@FreeBSD.org>1996-10-18 03:45:19 +0000
commit238a3adedd97d9735f07a38cce644d49d0340238 (patch)
treeb537ecba859e1938d749584d17a78ee3a62b4cbc /etc/ppp/ppp.conf.server.sample
parent4822eb7860a5a099bddb5d137bce593e77b76459 (diff)
downloadFreeBSD-src-238a3adedd97d9735f07a38cce644d49d0340238.zip
FreeBSD-src-238a3adedd97d9735f07a38cce644d49d0340238.tar.gz
Clean up the example files by giving them a unified set of names (which
I don't like, finding them rather redundantly named, but I'm just going with the flow here).
Diffstat (limited to 'etc/ppp/ppp.conf.server.sample')
-rwxr-xr-xetc/ppp/ppp.conf.server.sample48
1 files changed, 48 insertions, 0 deletions
diff --git a/etc/ppp/ppp.conf.server.sample b/etc/ppp/ppp.conf.server.sample
new file mode 100755
index 0000000..8e0f8e7
--- /dev/null
+++ b/etc/ppp/ppp.conf.server.sample
@@ -0,0 +1,48 @@
+#
+# ppp.conf showing possible setup for ppp server
+#
+
+# default is to enable extentions to ppp to have Microsoft clients
+# negotiate nameservers and netbios nameservers
+
+default:
+ disable lqr
+ set debug phase lcp chat
+ set timeout 0
+ enable msext
+ set ns xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
+ set nbns xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
+
+# standard dial-in PPP where authentication is done via a
+# "login: password:" arrangement - usually a script handles that on
+# the client side
+
+cuaa0:
+ disable passwdauth
+ set ifaddr myaddress client-address-1
+ enable proxy
+
+cuaa1:
+ disable passwdauth
+ set ifaddr myaddress xxx.xxx.xxx.2
+ enable proxy
+
+# dial-in PPP where mgetty has "auto" detected PPP packets and ran
+# /usr/sbin/ppp -direct pap(line)
+# (see sample.ppp-pap-dialup)
+# we enable pap to authenticate the user, and enable passwdauth
+# (another modification) to use the password file to authenticate
+# the user, and log them on to the system
+
+papcuaa0:
+ enable pap
+ enable passwdauth
+ set ifaddr myaddress xxx.xxx.xxx.1
+ enable proxy
+
+papcuaa0:
+ enable pap
+ enable passwdauth
+ set ifaddr myaddress xxx.xxx.xxx.2
+ enable proxy
+
OpenPOWER on IntegriCloud