Вот Конф
Код:
startup:
# configure the console
set console self 127.0.0.1 5005
set console user admin idontforget
set console open
default:
load pptp_server
pptp_server:
# Define dynamic IP address pool.
set ippool add poolsat 192.168.8.1 192.168.8.15
load common_bundles
# Create clonable bundle template named B
common_bundles:
create bundle template B
set iface enable proxy-arp
set iface idle 0
set iface enable tcpmssfix
set ipcp yes vjcomp
# Specify IP address pool for dynamic assigment.
set ipcp ranges 192.168.8.2/32 ippool poolsat
# 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
load common_links
# Create clonable link template named L
common_links:
create link template L pptp
set link action bundle B
set link enable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link enable chap-msv1
set link enable chap-msv2
set link keep-alive 10 60
set link mtu 1460
# Configure PPTP
set pptp self ВнешныйИПСервера
set link enable incoming