Народ всем привет, есть mpd5 сервер который крутится на freebsd 6.4
Могу подключиться по pptp к этому серверу с linux fedora, но с
Windows 7 соединение не устанавливается...
Код:
startup:
# enable TCP-Wrapper (hosts_access(5)) to block unfriendly clients
set global enable tcp-wrapper
# configure the console
set console self 127.0.0.1 5005
set user xxx yyy admin
set console open
#WEB managment
set web self 0.0.0.0 5006
set web enable auth
set web open
#Netflow options
#set netflow peer 127.0.0.1 9996
#set netflow peer timeouts 60 120
# Calling-Station-Id = "10.0.4.16 / 00:18:f3:5a:9f:6a / em0"
set link enable report-mac
default:
load pptp_client
load pptp_server
pptp_client:
create bundle static B1
set iface up-script /usr/local/etc/mpd5/up.sh
set iface route default
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
set bundle enable compression
set ccp yes mppc
set mppc yes e40
set mppc yes e128
set bundle enable crypt-reqd
set mppc yes stateless
create link static L1 pptp
set link action bundle B1
set auth authname "login"
set auth password "password"
set link max-redial 0
set link mtu 1460
set link keep-alive 20 75
set pptp peer server_2
set pptp disable windowing
open
pptp_server:
# Define dynamic IP address pool.
set ippool add pool1 192.168.170.1 192.168.170.254
# Create clonable bundle template named B
create bundle template B
set iface disable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set iface enable netflow-in netflow-out
set ipcp yes vjcomp
# Specify IP address pool for dynamic assigment.
set ipcp ranges 192.168.170.0/32 ippool pool1
set ipcp dns <ip_address_provaidera_1> <ip_address_provaidera_2>
# The five lines below enable Microsoft Point-to-Point encryption
# (MPPE) using the ng_mppc(8) netgraph node type.
set bundle enable compression
set ccp yes mppc
set mppc yes e40
set mppc yes e128
set mppc yes stateless
# Create clonable link template named L
create link template L pptp
# Set bundle template to use
set link action bundle B
# Multilink adds some overhead, but gives full 1500 MTU.
set link enable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link keep-alive 10 60
#
set link fsm-timeout 5
# We reducing link mtu to avoid GRE packet fragmentation
set link mtu 1460
# Configure PPTP
set pptp self <ip_address_1>:1723
set pptp self <ip_address_2>:1723
set auth max-logins 1
load server_common
server_common:
set link enable incoming
set link no acfcomp protocomp
load radius
#radius:
#set radius config /usr/local/etc/raddb/radiusd.conf
set radius server localhost xxxyyy 1812 1813
set radius retries 3
set radius timeout 10
set radius me 127.0.0.1
set auth acct-update 300
set auth enable radius-auth
set auth enable radius-acct
set auth disable internal
set radius enable message-authentic
Могу подключиться по pptp к этому серверу с linux fedora, но с
Windows 7 соединение не устанавливается...
Код:
startup:
# enable TCP-Wrapper (hosts_access(5)) to block unfriendly clients
set global enable tcp-wrapper
# configure the console
set console self 127.0.0.1 5005
set user xxx yyy admin
set console open
#WEB managment
set web self 0.0.0.0 5006
set web enable auth
set web open
#Netflow options
#set netflow peer 127.0.0.1 9996
#set netflow peer timeouts 60 120
# Calling-Station-Id = "10.0.4.16 / 00:18:f3:5a:9f:6a / em0"
set link enable report-mac
default:
load pptp_client
load pptp_server
pptp_client:
create bundle static B1
set iface up-script /usr/local/etc/mpd5/up.sh
set iface route default
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
set bundle enable compression
set ccp yes mppc
set mppc yes e40
set mppc yes e128
set bundle enable crypt-reqd
set mppc yes stateless
create link static L1 pptp
set link action bundle B1
set auth authname "login"
set auth password "password"
set link max-redial 0
set link mtu 1460
set link keep-alive 20 75
set pptp peer server_2
set pptp disable windowing
open
pptp_server:
# Define dynamic IP address pool.
set ippool add pool1 192.168.170.1 192.168.170.254
# Create clonable bundle template named B
create bundle template B
set iface disable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set iface enable netflow-in netflow-out
set ipcp yes vjcomp
# Specify IP address pool for dynamic assigment.
set ipcp ranges 192.168.170.0/32 ippool pool1
set ipcp dns <ip_address_provaidera_1> <ip_address_provaidera_2>
# The five lines below enable Microsoft Point-to-Point encryption
# (MPPE) using the ng_mppc(8) netgraph node type.
set bundle enable compression
set ccp yes mppc
set mppc yes e40
set mppc yes e128
set mppc yes stateless
# Create clonable link template named L
create link template L pptp
# Set bundle template to use
set link action bundle B
# Multilink adds some overhead, but gives full 1500 MTU.
set link enable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link keep-alive 10 60
#
set link fsm-timeout 5
# We reducing link mtu to avoid GRE packet fragmentation
set link mtu 1460
# Configure PPTP
set pptp self <ip_address_1>:1723
set pptp self <ip_address_2>:1723
set auth max-logins 1
load server_common
server_common:
set link enable incoming
set link no acfcomp protocomp
load radius
#radius:
#set radius config /usr/local/etc/raddb/radiusd.conf
set radius server localhost xxxyyy 1812 1813
set radius retries 3
set radius timeout 10
set radius me 127.0.0.1
set auth acct-update 300
set auth enable radius-auth
set auth enable radius-acct
set auth disable internal
set radius enable message-authentic