FreeBSD VPN

Вообще-то pptpclient уже минимум версии 1.7 (pptp-1.7.0.tar.gz давно порты обновлял?
чем же? минимума функциональности pptpclient вполне достаточно, имхо.
hotel pakagom postavit'...
a kak vpn v mpd nastraivat'?..
/ports/net/pptpclient отсутствует что ли?
в сэмпловых конфигах есть всё, что тебе нужно.
nu vrode vsyo postavilos', posmotrimkak nastroitsya...
sphere# ifconfig
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
inet6 fe80::20d

inet 172.16.37.200 netmask 0xfffffc00 broadcast 172.16.39.255
ether 00:0d:61:9b

media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff000000
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
Opened by PID 14866
kto nit' znaet chto ei eschyo nuzhno?..
sphere# less ppp.log
Jan 11 16:25:35 newsyslog[276]: logfile first created
Jan 13 03:45:13 sphere ppp[14776]: Phase: Using interface: tun0
Jan 13 03:45:13 sphere ppp[14776]: Phase: deflink: Created in closed state
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE)
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: set device /dev/cuad1
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: set speed 115200
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5
"" AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT 40 CONNECT
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: set timeout 180
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: enable dns
Jan 13 03:45:13 sphere ppp[14776]: tun0: Warning: Bad label in /etc/ppp/ppp.conf (line 40) - missing colon
Jan 13 03:45:14 sphere ppp[14776]: tun0: Phase: PPP Started (direct mode).
Jan 13 03:45:14 sphere ppp[14776]: tun0: Phase: bundle: Establish
Jan 13 03:45:14 sphere ppp[14776]: tun0: Phase: deflink: closed -> opening
Jan 13 03:45:14 sphere ppp[14776]: tun0: Phase: deflink: Connected!
Jan 13 03:45:14 sphere ppp[14776]: tun0: Phase: deflink: opening -> carrier
Jan 13 03:45:15 sphere ppp[14776]: tun0: Phase: deflink: carrier -> lcp
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: FSM: Using "deflink" as a transport
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: State change Initial --> Closed
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: State change Closed --> Stopped
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: RecvConfigReq(1) state = Stopped
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACCMAP[6] 0x00000000
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: MAGICNUM[6] 0x01c62fa9
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: PROTOCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACFCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACFCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: PROTOCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACCMAP[6] 0x00000000
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: MRU[4] 1500
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: MAGICNUM[6] 0xb89dac86
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: SendConfigAck(1) state = Stopped
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACCMAP[6] 0x00000000
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: FSM: Using "deflink" as a transport
Jan 11 16:25:35 newsyslog[276]: logfile first created
Jan 13 03:45:13 sphere ppp[14776]: Phase: Using interface: tun0
Jan 13 03:45:13 sphere ppp[14776]: Phase: deflink: Created in closed state
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE)
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: set device /dev/cuad1
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: set speed 115200
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5
"" AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT 40 CONNECT
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: set timeout 180
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: enable dns
Jan 13 03:45:13 sphere ppp[14776]: tun0: Warning: Bad label in /etc/ppp/ppp.conf (line 40) - missing colon
Jan 13 03:45:14 sphere ppp[14776]: tun0: Phase: PPP Started (direct mode).
Jan 13 03:45:14 sphere ppp[14776]: tun0: Phase: bundle: Establish
Jan 13 03:45:14 sphere ppp[14776]: tun0: Phase: deflink: closed -> opening
Jan 13 03:45:14 sphere ppp[14776]: tun0: Phase: deflink: Connected!
Jan 13 03:45:14 sphere ppp[14776]: tun0: Phase: deflink: opening -> carrier
Jan 13 03:45:15 sphere ppp[14776]: tun0: Phase: deflink: carrier -> lcp
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: FSM: Using "deflink" as a transport
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: State change Initial --> Closed
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: State change Closed --> Stopped
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: RecvConfigReq(1) state = Stopped
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACCMAP[6] 0x00000000
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: MAGICNUM[6] 0x01c62fa9
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: PROTOCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACFCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACFCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: PROTOCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACCMAP[6] 0x00000000
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: MRU[4] 1500
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: MAGICNUM[6] 0xb89dac86
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: SendConfigAck(1) state = Stopped
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACCMAP[6] 0x00000000
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: MAGICNUM[6] 0x01c62fa9
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: PROTOCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACFCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: LayerStart
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: State change Stopped --> Ack-Sent
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: RecvConfigAck(1) state = Ack-Sent
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACFCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: PROTOCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACCMAP[6] 0x00000000
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: MRU[4] 1500
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: MAGICNUM[6] 0xb89dac86
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: LayerUp
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: SendIdent(0) state = Opened
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: MAGICNUM b89dac86
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: TEXT user-ppp 3.4.2 (built Nov 3 2005)
Jan 13 03:45:15 sphere ppp[14776]: tun0: Phase: bundle: Authenticate
Jan 13 03:45:15 sphere ppp[14776]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
Jan 13 03:45:15 sphere ppp[14776]: tun0: Phase: Chap Input: CHALLENGE (20 bytes from 131)
Jan 13 03:45:15 sphere ppp[14776]: tun0: Phase: Chap Output: RESPONSE
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: RecvCodeRej(2) state = Opened
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: defl
Jan 11 16:25:35 newsyslog[276]: logfile first created
Jan 13 03:45:13 sphere ppp[14776]: Phase: Using interface: tun0
Jan 13 03:45:13 sphere ppp[14776]: Phase: deflink: Created in closed state
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE)
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: set device /dev/cuad1
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: set speed 115200
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5
"" AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT 40 CONNECT
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: set timeout 180
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: enable dns
Jan 13 03:45:13 sphere ppp[14776]: tun0: Warning: Bad label in /etc/ppp/ppp.conf (line 40) - missing colon
Jan 13 03:45:14 sphere ppp[14776]: tun0: Phase: PPP Started (direct mode).
Jan 13 03:45:14 sphere ppp[14776]: tun0: Phase: bundle: Establish
Jan 13 03:45:14 sphere ppp[14776]: tun0: Phase: deflink: closed -> opening
Jan 13 03:45:14 sphere ppp[14776]: tun0: Phase: deflink: Connected!
Jan 13 03:45:14 sphere ppp[14776]: tun0: Phase: deflink: opening -> carrier
Jan 13 03:45:15 sphere ppp[14776]: tun0: Phase: deflink: carrier -> lcp
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: FSM: Using "deflink" as a transport
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: State change Initial --> Closed
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: State change Closed --> Stopped
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: RecvConfigReq(1) state = Stopped
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACCMAP[6] 0x00000000
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: MAGICNUM[6] 0x01c62fa9
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: PROTOCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACFCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACFCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: PROTOCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACCMAP[6] 0x00000000
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: MRU[4] 1500
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: MAGICNUM[6] 0xb89dac86
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: SendConfigAck(1) state = Stopped
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACCMAP[6] 0x00000000
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: FSM: Using "deflink" as a transport
Jan 11 16:25:35 newsyslog[276]: logfile first created
Jan 13 03:45:13 sphere ppp[14776]: Phase: Using interface: tun0
Jan 13 03:45:13 sphere ppp[14776]: Phase: deflink: Created in closed state
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE)
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: set device /dev/cuad1
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: set speed 115200
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5
"" AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT 40 CONNECT
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: set timeout 180
Jan 13 03:45:13 sphere ppp[14776]: tun0: Command: default: enable dns
Jan 13 03:45:13 sphere ppp[14776]: tun0: Warning: Bad label in /etc/ppp/ppp.conf (line 40) - missing colon
Jan 13 03:45:14 sphere ppp[14776]: tun0: Phase: PPP Started (direct mode).
Jan 13 03:45:14 sphere ppp[14776]: tun0: Phase: bundle: Establish
Jan 13 03:45:14 sphere ppp[14776]: tun0: Phase: deflink: closed -> opening
Jan 13 03:45:14 sphere ppp[14776]: tun0: Phase: deflink: Connected!
Jan 13 03:45:14 sphere ppp[14776]: tun0: Phase: deflink: opening -> carrier
Jan 13 03:45:15 sphere ppp[14776]: tun0: Phase: deflink: carrier -> lcp
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: FSM: Using "deflink" as a transport
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: State change Initial --> Closed
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: State change Closed --> Stopped
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: RecvConfigReq(1) state = Stopped
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACCMAP[6] 0x00000000
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: MAGICNUM[6] 0x01c62fa9
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: PROTOCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACFCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACFCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: PROTOCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACCMAP[6] 0x00000000
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: MRU[4] 1500
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: MAGICNUM[6] 0xb89dac86
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: SendConfigAck(1) state = Stopped
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACCMAP[6] 0x00000000
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: MAGICNUM[6] 0x01c62fa9
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: PROTOCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACFCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: LayerStart
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: State change Stopped --> Ack-Sent
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: RecvConfigAck(1) state = Ack-Sent
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACFCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: PROTOCOMP[2]
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: ACCMAP[6] 0x00000000
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: MRU[4] 1500
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: MAGICNUM[6] 0xb89dac86
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: LayerUp
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: SendIdent(0) state = Opened
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: MAGICNUM b89dac86
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: TEXT user-ppp 3.4.2 (built Nov 3 2005)
Jan 13 03:45:15 sphere ppp[14776]: tun0: Phase: bundle: Authenticate
Jan 13 03:45:15 sphere ppp[14776]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
Jan 13 03:45:15 sphere ppp[14776]: tun0: Phase: Chap Input: CHALLENGE (20 bytes from 131)
Jan 13 03:45:15 sphere ppp[14776]: tun0: Phase: Chap Output: RESPONSE
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: deflink: RecvCodeRej(2) state = Opened
Jan 13 03:45:15 sphere ppp[14776]: tun0: LCP: defl
Оставить комментарий
huyabla
est' u kogo nit' pptpclient-1.0.3.tgz + libgnugetopt-1.1.tgz nu ili versiey povyshe?..