Показать сообщение отдельно
Старый 10.12.2006, 16:29     # 3
quaker
землетрясЕц
 
Регистрация: 12.06.2003
Сообщения: 2 007

quaker Имеются все основания чтобы гордиться собойquaker Имеются все основания чтобы гордиться собойquaker Имеются все основания чтобы гордиться собойquaker Имеются все основания чтобы гордиться собойquaker Имеются все основания чтобы гордиться собойquaker Имеются все основания чтобы гордиться собойquaker Имеются все основания чтобы гордиться собойquaker Имеются все основания чтобы гордиться собойquaker Имеются все основания чтобы гордиться собойquaker Имеются все основания чтобы гордиться собойquaker Имеются все основания чтобы гордиться собой
мпд конф
PHP код:
default:
    
load pptp0

pptp0
:
    new -
i ng0 pptp0 pptp0
    set ipcp ranges 192.168.2.1
/32 192.168.2.50/32
    load pptp_standart

pptp_standart
:
    
set iface disable on-demand
    set bundle disable multilink
    set link yes acfcomp protocomp
    set link no pap chap
    set link enable chap
    set link keep
-alive 60 180
    set ipcp yes vjcomp

    set ipcp dns 192.168.2.1
    set ipcp nbns 192.168.2.2

    set iface enable proxy
-arp

    set bundle enable compression

    set ccp yes mppc
    set ccp yes mpp
-e40
    set ccp yes mpp
-e56
    set ccp yes mpp
-e128
    set ccp yes mpp
-stateless
    set bundle yes crypt
-reqd

    set pptp self 217.148.210.126

    set pptp enable incoming
    set pptp disable originate 
мпд линкс
PHP код:
pptp0:
    
set link type pptp 
ядро (опции переписаны из инета с манулаа по установке - в случае если на стандартном не поднимется)
PHP код:
#mpd
options         NETGRAPH #netgraph(4) system
options         NETGRAPH_ASYNC
options         NETGRAPH_BPF
options         NETGRAPH_ECHO
options         NETGRAPH_ETHER
options         NETGRAPH_HOLE
options         NETGRAPH_IFACE
options         NETGRAPH_KSOCKET
options         NETGRAPH_L2TP
options         NETGRAPH_LMI
# MPPC compression requires proprietary files (not included)
#options NETGRAPH_MPPC_COMPRESSION
options         NETGRAPH_MPPC_ENCRYPTION
options         NETGRAPH_ONE2MANY
options         NETGRAPH_PPP
options         NETGRAPH_PPTPGRE
options         NETGRAPH_RFC1490
options         NETGRAPH_SOCKET
options         NETGRAPH_TEE
options         NETGRAPH_TTY
options         NETGRAPH_UI
options         NETGRAPH_VJC 
quaker вне форума