Уважаемые пльзователи форума, ранее обращался с проблемой соединения с vpn-севером через pptp-client (Операционная система - FreeBSD) , ничего не вышло. Посоветовали поставить mpd. Поставил - все равно ничего не получается.
Итак имеется vpn -сервер. В Windows поключение необходимо осуществлять к серверу с адресом 10.20.0.1 . Однако после соеденинеия в свойствах подлючения пишется
клиент - 10.9.2.45
сервер - 10.9.0.254
Поэтому возможно, что vpn-сервер - это 10.9.0.254
шлюз (gateway) - 10.20.0.1
Содержание файла /usr/local/etc/mpd5/mpd.conf
startup:
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
create link static L1 pptp
set link action bundle B1
set auth authname name
set auth password password
set link max-redial 0
set link mtu 1460
set link keep-alive 20 75
set pptp peer 10.9.0.254
set pptp disable windowing
open
netstat -rnW
Routing tables
Internet:
Destination Gateway Flags Refs Use Mtu Netif Expire
10.20.0.0/21 link#1 UC 0 0 1500 rl0
10.20.0.1 00:18:fe:86:ca:64 UHLW 2 61 1500 rl0 1193
83.229.168.47/32 10.20.0.1 UGS 0 0 1500 rl0
127.0.0.1 127.0.0.1 UH 0 0 16384 lo0
Internet6:
Destination Gateway Flags Refs Use Mtu Netif Expire
::1 ::1 UHL 1 0 16384 lo0
fe80::%lo0/64 fe80::1%lo0 U 0 0 16384 lo0
fe80::1%lo0 link#3 UHL 1 0 16384 lo0
ff01:3::/32 fe80::1%lo0 UC 0 0 16384 lo0
ff02::%lo0/32 fe80::1%lo0 UC 0 0 16384 lo0
route add -host 10.9.0.254 10.20.0.1
mpd5
Multi-link PPP daemon for FreeBSD
process 998 started, version 5.1 (root@freebsd.org 18:20 9-Sep-2008)
[B1] Bundle: Interface ng0 created
[L1] [L1] Link: OPEN event
[L1] LCP: Open event
[L1] LCP: state change Initial --> Starting
[L1] LCP: LayerStart
[L1] PPTP call successful
[L1] PPTP: can't attach pptpgre node: Invalid argument
[L1] PPTP call failed
[L1] Link: DOWN event
[L1] LCP: Down event
[L1] Link: reconnection attempt 1 in 2 seconds
[L1] Link: reconnection attempt 1
[L1] PPTP call successful
[L1] PPTP: can't attach pptpgre node: Invalid argument
[L1] PPTP call failed
[L1] Link: DOWN event
[L1] LCP: Down event
[L1] Link: reconnection attempt 2 in 3 seconds
[L1] Link: reconnection attempt 2
[L1] PPTP call successful
[L1] PPTP: can't attach pptpgre node: Invalid argument
[L1] PPTP call failed
[L1] Link: DOWN event
[L1] LCP: Down event
[L1] Link: reconnection attempt 3 in 1 seconds
[L1] Link: reconnection attempt 3
[L1] PPTP call successful
[L1] PPTP: can't attach pptpgre node: Invalid argument
[L1] PPTP call failed
[L1] Link: DOWN event
[L1] LCP: Down event
[L1] Link: reconnection attempt 4 in 3 seconds
[L1] Link: reconnection attempt 4
[L1] PPTP call successful
[L1] PPTP: can't attach pptpgre node: Invalid argument
[L1] PPTP call failed
[L1] Link: DOWN event
[L1] LCP: Down event
[L1] Link: reconnection attempt 5 in 1 seconds
[L1] Link: reconnection attempt 5
[L1] PPTP call successful
[L1] PPTP: can't attach pptpgre node: Invalid argument
[L1] PPTP call failed
[L1] Link: DOWN event
[L1] LCP: Down event
[L1] Link: reconnection attempt 6 in 3 seconds
[L1] Link: reconnection attempt 6