mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
fddb6f46b4
I don't like, finding them rather redundantly named, but I'm just going with the flow here).
49 lines
1.1 KiB
Plaintext
Executable File
49 lines
1.1 KiB
Plaintext
Executable File
#
|
|
# 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
|
|
|