На всякий случаю привожу свои конфиги здесь:
Код: Выделить всё
cat mpd.conf
default:
load pptp_client
pptp_client:
#
# PPTP client: only outgoing calls, auto reconnect,
# ipcp-negotiated address, one-sided authentication,
# default route points on ISP's end
#
create bundle static B1
set iface up-script /usr/local/etc/mpd5/up-script.sh
set iface down-script /usr/local/etc/mpd5/down-script.sh
#set iface route default
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
create link static L1 pptp
set link action bundle B1
set auth authname USERNAME
set auth password USERPASSWORD
set link max-redial 0
set link mtu 1460
set link keep-alive 20 75
set pptp peer 10.10.10.16
set pptp disable windowing
open
Код: Выделить всё
cat up-script.sh
#!/bin/sh
/sbin/route add 10.10.10.16 10.44.0.254
Код: Выделить всё
cat down-script.sh
#!/bin/sh
/sbin/route delete 10.10.10.16 10.44.0.254
Код: Выделить всё
cat mpd.secret
USERNAME "USERPASSWORD" 10.10.10.16