Воспользовавшись статьей MPD5 сквозь IPFW-NAT (FreeBSD 7/amd64), настроил VPN сервис на шлюзе. Клиент подключается, получает адрес из диапазона, НО возникла проблема с добавлением записи в таблицу роутинга на клиенте, потому что клиент не видит компьютеры сети(не может зайти не по IP, не по имен, ну и соответственно не пигуются). В связи с этим вопрос, может ли mpd5 передавать параметры роутинга? Если нет, то прошу о помощи, как можно это сделать?
мой mpd.conf
Код: Выделить всё
startup:
# configure mpd users
set user foo 12345 admin
# configure the console
set console self 127.0.0.1 5005
set console open
# configure the web server
set web self 192.168.1.3 5006
set web open
default:
load vpn
vpn:
set ippool add poolsat 192.168.3.2 192.168.3.20
# Create clonable bundle template named B
create bundle template B
set iface enable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set ipcp yes vjcomp
# Specify IP address pool for dynamic assigment
set ipcp ranges 192.168.1.3/32 ippool poolsat
set iface route 192.168.3.0/24
# configure dns, wins-services
set ipcp dns 192.168.1.25 192.168.1.5
set ipcp nbns 192.168.1.25
# 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
# We reducing link mtu to avoid GRE packet fragmentation.
set link mtu 1460
set link no pap chap
set link enable chap
# load radius
set link keep-alive 10 75
# Configure PPTP
set pptp self xxx.xxx.xxx.xxx
# Allow to accept calls
set link enable incoming
