потери пакетов при подключении из-под винды к VPN серверу на FreeBSD до 60% и более.mpd.conf:
default:
load client1
load client2
load client3
client1:
new -i ng0 pptp0 pptp0
set ipcp ranges 192.168.1.249/32 192.168.1.251/32
load client_standard
client2:
new -i ng1 pptp1 pptp1
set ipcp ranges 192.168.1.249/32 192.168.1.252/32
load client_standard
client3:
new -i ng2 pptp2 pptp2
set ipcp ranges 192.168.1.249/32 192.168.1.253/32
load client_standard
client_standard:
set iface disable on-demand
set iface enable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set bundle enable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link mtu 1460
set link keep-alive 10 60
set ipcp yes vjcomp
# set ipcp dns 192.168.1.3
# set ipcp nbns 192.168.1.4
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 no noretry
set link max-redial 0
mpd.link:
pptp0:
set link type pptp
set pptp enable incoming
set pptp disable originate
set pptp enable incoming
set pptp enable always-ack
pptp1:
set link type pptp
set pptp enable incoming
set pptp disable originate
set pptp enable incoming
set pptp enable always-ack
pptp2:
set link type pptp
set pptp enable incoming
set pptp disable originate
set pptp enable incoming
set pptp enable always-ack