Скончалась мандрива 2009


Код: Выделить всё
root@sirius:/etc # uname -a
FreeBSD sirius10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Fri Jan 17 01:46:25 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
mc bind99 openvpn screen
mpd
Код: Выделить всё
root@sirius:/etc # pkg info mpd5
mpd5-5.7
Name : mpd5
Version : 5.7
Installed on : Sun Mar 23 18:19:57 EET 2014
Origin : net/mpd5
Architecture : freebsd:10:x86:32
Prefix : /usr/local
Код: Выделить всё
ifconfig re0
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
ether 48:5b:39:d0:2e:c1
inet 93.xx.xx.xx netmask 0xffffff00 broadcast 93.x.y.255
inet6 fe80::4a5b:39ff:fed0:2ec1%re0 prefixlen 64 scopeid 0x1
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active

Что у меня есть (передрал с windows):
адресс pptp 91.xx.yy.3 (когда устанавливается туннель этот же адрес на втором конце тунеля)
не использовать програмное сжатие
Включить LCP
Протокол проверки пароля chap
ms-chap 2
без шифрования
login: MyLogin
pass: MyPass
Код: Выделить всё
root@sirius:/usr/local/etc/mpd5 # cat ./mpd.conf
#################################################################
#
# MPD configuration file
#################################################################
default:
load pptp_client
pptp_client:
create bundle static B1
set iface route default
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
set iface up-script /usr/local/etc/mpd5/up.sh
set iface down-script /usr/local/etc/mpd5/down.sh
# The five lines below enable Microsoft Point-to-Point encryption
# (MPPE) using the ng_mppc(8) netgraph node type.
set bundle disable compression
set bundle disable encryption
set ccp no mppc
set mppc no compress e40 e56 e128 stateless
create link static L1 pptp
set link action bundle B1
set auth authname MyAuthName
set auth password MyAuthPass
set link max-redial 0
set link mtu 1460
set link keep-alive 20 75
set pptp peer 91.x.y.3
set pptp disable windowing
open
А при подключении вообще начинатеся печаль:
Код: Выделить всё
root@sirius:/etc # sysctl net.inet.ip.forwarding
net.inet.ip.forwarding: 0
Код: Выделить всё
root@sirius:/etc # ifconfig ng0
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1460
inet 93.x.y.102 --> 91.x.y.3 netmask 0xffffffff
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
в логе
Код: Выделить всё
root@sirius:/etc # tail -30 /var/log/mpd.log
Mar 24 09:24:42 sirius mpd: [B1] IPCP: Open event
Mar 24 09:24:42 sirius mpd: [B1] IPCP: state change Initial --> Starting
Mar 24 09:24:42 sirius mpd: [B1] IPCP: LayerStart
Mar 24 09:24:42 sirius mpd: [B1] IPCP: Up event
Mar 24 09:24:42 sirius mpd: [B1] IPCP: state change Starting --> Req-Sent
Mar 24 09:24:42 sirius mpd: [B1] IPCP: SendConfigReq #191
Mar 24 09:24:42 sirius mpd: [B1] IPADDR 0.0.0.0
Mar 24 09:24:42 sirius mpd: [B1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar 24 09:24:42 sirius mpd: [B1] IPCP: rec'd Configure Request #1 (Req-Sent)
Mar 24 09:24:42 sirius mpd: [B1] IPADDR 91.x.y.3
Mar 24 09:24:42 sirius mpd: [B1] 91.x.y.3 is OK
Mar 24 09:24:42 sirius mpd: [B1] IPCP: SendConfigAck #1
Mar 24 09:24:42 sirius mpd: [B1] IPADDR 91.x.y.3
Mar 24 09:24:42 sirius mpd: [B1] IPCP: state change Req-Sent --> Ack-Sent
Mar 24 09:24:42 sirius mpd: [B1] IPCP: rec'd Configure Reject #191 (Ack-Sent)
Mar 24 09:24:43 sirius mpd: [B1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar 24 09:24:43 sirius mpd: [B1] IPCP: SendConfigReq #192
Mar 24 09:24:43 sirius mpd: [B1] IPADDR 0.0.0.0
Mar 24 09:24:43 sirius mpd: [B1] IPCP: rec'd Configure Nak #192 (Ack-Sent)
Mar 24 09:24:43 sirius mpd: [B1] IPADDR 93.x.y.102
Mar 24 09:24:43 sirius mpd: [B1] 93.x.y.102 is OK
Mar 24 09:24:43 sirius mpd: [B1] IPCP: SendConfigReq #193
Mar 24 09:24:43 sirius mpd: [B1] IPADDR 93.x.y.102
Mar 24 09:24:43 sirius mpd: [B1] IPCP: rec'd Configure Ack #193 (Ack-Sent)
Mar 24 09:24:43 sirius mpd: [B1] IPADDR 93.x.y.102
Mar 24 09:24:43 sirius mpd: [B1] IPCP: state change Ack-Sent --> Opened
Mar 24 09:24:43 sirius mpd: [B1] IPCP: LayerUp
Mar 24 09:24:43 sirius mpd: [B1] 93.x.y.102 -> 91.x.y.3
Mar 24 09:24:43 sirius mpd: [B1] IFACE: Add route 0.0.0.0/0 91.x.y.3 failed: File exists
Mar 24 09:24:43 sirius mpd: [B1] IFACE: Up event
Но там у меня типовая конфигурация, что работает еще на 3х точках
Думаю у меня проблема в mpd.conf
