Вот конфиг:
Код: Выделить всё
default:
load pptp0
load pptp1
#load pptp2
pptp0:
new -i ng0 pptp0 pptp0
set ipcp ranges 10.53.1.1/32 10.53.1.100/32
load pptp_standart
pptp1:
new -i ng1 pptp1 pptp1
set ipcp ranges 10.53.1.1/32 10.53.1.101/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 XXX.XXX.XXX.XXX
#set ipcp nbns XXX.XXX.XXX.XXX
set iface enable proxy-arp
set bundle enable compression
set ccp yes mppc
set ccp yes mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless
set bundle yes crypt-reqd
set pptp self 10.0.10.53
set pptp enable incoming
set pptp disable originate
Код: Выделить всё
[pptp1:pptp1]
Вот лог:
Код: Выделить всё
Jul 31 08:13:39 10 mpd: mpd: pid 4078, version 3.18 (root@10.64.1.1 17:20 30-Jul-2008)
Jul 31 08:13:39 10 mpd: [pptp0] ppp node is "mpd4078-pptp0"
Jul 31 08:13:39 10 mpd: [pptp0] using interface ng0
Jul 31 08:13:39 10 mpd: [pptp1] ppp node is "mpd4078-pptp1"
Jul 31 08:13:39 10 mpd: [pptp1] using interface ng1
Jul 31 08:15:15 10 mpd: mpd: caught fatal signal int
Jul 31 08:15:15 10 mpd: mpd: fatal error, exiting
Jul 31 08:15:15 10 mpd: [pptp0] IPCP: Down event
Jul 31 08:15:15 10 mpd: [pptp0] IFACE: Close event
Jul 31 08:15:15 10 mpd: [pptp1] IPCP: Down event
Jul 31 08:15:15 10 mpd: [pptp1] IFACE: Close event
Jul 31 08:15:15 10 mpd: mpd: process 4078 terminated
Jul 31 08:17:45 10 mpd: mpd: pid 4090, version 3.18 (root@10.64.1.1 17:20 30-Jul-2008)
Jul 31 08:17:45 10 mpd: [pptp0] ppp node is "mpd4090-pptp0"
Jul 31 08:17:45 10 mpd: [pptp0] using interface ng0
Jul 31 08:17:45 10 mpd: [pptp1] ppp node is "mpd4090-pptp1"
Jul 31 08:17:45 10 mpd: [pptp1] using interface ng1
Jul 31 08:18:04 10 mpd: [pptp0] IPCP: Down event
Jul 31 08:18:04 10 mpd: [pptp0] IFACE: Close event
Jul 31 08:18:04 10 mpd: [pptp1] IPCP: Down event
Jul 31 08:18:04 10 mpd: [pptp1] IFACE: Close event
Jul 31 08:18:04 10 mpd: mpd: process 4090 terminated
Jul 31 08:20:48 10 mpd: mpd: pid 4105, version 3.18 (root@10.64.1.1 17:20 30-Jul-2008)
Jul 31 08:20:48 10 mpd: [pptp0] ppp node is "mpd4105-pptp0"
Jul 31 08:20:48 10 mpd: [pptp0] using interface ng0
Jul 31 08:20:48 10 mpd: [pptp1] ppp node is "mpd4105-pptp1"
Jul 31 08:20:48 10 mpd: [pptp1] using interface ng1
Jul 31 08:21:00 10 mpd: mpd: caught fatal signal int
Jul 31 08:21:00 10 mpd: mpd: fatal error, exiting
Jul 31 08:21:00 10 mpd: [pptp0] IPCP: Down event
Jul 31 08:21:00 10 mpd: [pptp0] IFACE: Close event
Jul 31 08:21:00 10 mpd: [pptp1] IPCP: Down event
Jul 31 08:21:00 10 mpd: [pptp1] IFACE: Close event
Jul 31 08:21:00 10 mpd: mpd: process 4105 terminated