
|
 |
ВНИМАНИЕ: Използвайте форумите на сайта за дa зададете вашите въпроси.
Въпрос |
От: joshoa (example __@__ abv< dot >bg) |
Дата: 01/16/2004 |
Някои да знае това как да го оправя - pptp: Configuration
label not found . След като инсталирах poptop ot /usr/ports
на FreeBSD 5.0.
# cat pptpd.conf
option /etc/ppp/options.pptpd
localip 192.168.1.1
remoteip 192.168.1.200-254
## CHANGE TO SUIT YOUR SYSTEM
lock
## turn pppd syslog debugging on
debug
## change 'pptpd' to whatever you specify as your server
name in chap-secrets
name pptpd
# Don't need this
nobsdcomp
# Tell pptpd to find local interface and put it in proxyarp
mode
proxyarp
# This option applies if you use ppp with
chapms-strip-domain patch
#chapms-strip-domain
# These options are for use with the OpenSSL-licensed patch
# This flavor will be obsoleted ASAP.
# NB! You should also apply the ChapMS-V2 patch
#-chap
#-chapms
#+chapms-v2
#mppe-40 # both 40-bits and 128-bits encryption bite
eachother
#mppe-128
#mppe-stateless
mtu 1490
mru 1490
# These options are for use with the BSD-licensed patch (ppp
=> 2.4.2)
# This is the default implementation
#refuse-pap
#refuse-chap
#refuse-mschap
#require-mschap-v2
#require-mppe
# These options will tell ppp to pass on these to your
clients
# To use ms-dns or ms-dns in options.pptpd it must exist in
/etc/resolv.conf
#ms-wins <ip-of-your-winsserver>
ms-dns <xxx.xxx.xxx.xxx>
# Secrets for authentication using CHAP
# client server secret IP addresses
playlife pptpd <passwd> *
cat ppp.conf
default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)
# Ensure that "device" references the correct serial port
# for your modem. (cuaa0 = COM1, cuaa1 = COM2)
#
set device /dev/net2
set speed 115200
# set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
# \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40
CONNECT"
set timeout 180 # 3 minute idle
timer (the default)
# enable dns # request DNS info
(for resolv.conf)
chap:
#
# edit the next three lines and replace the items in caps
with
# the values which have been assigned by your ISP.
#
# set phone PHONE_NUM
set authname playlife
set authkey <passwd>
# set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
# add default HISADDR # Add a (sticky)
default route
#
|
<< Davane samo na BG Peering (0
) | Mandrake i CD-LG (6
) >>
|
|
|
|
|