Здравствуйте, коллеги!
Волею судеб сложилось так что мне нужно на одном сервере быть впн-сервером и впн-клиентом, с сервером проблем не возникло, соединяются к нему все без проблем, а вот как мне соединиться с другим офисом? конфиг:
beer# cat /usr/local/etc/mpd5/mpd.conf
#################################################################
#################################################################startup:
# configure mpd users
set user foo bar admin
set user foo1 bar1
# configure the console
set console self 127.0.0.1 5005
set console open
# configure the web server
set web self 192.168.23.1 5006
set web open
default:
load vpn
load pptp_client
vpn:
# Define dynamic IP address pool.
#set ippool add poolstat 192.168.0.2 192.168.0.100
set ippool add poolstat 192.168.23.2 192.168.23.100
# 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.23.1/24 ippool poolstat
set ipcp dns 8.8.8.8 88.210.50.97 212.118.32.100
# set ipcp nbns 192.168.1.4
# 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
# We can use use RADIUS authentication/accounting by including
# another config section with label 'radius'.
# load radius
set link keep-alive 10 60
# We reducing link mtu to avoid GRE packet fragmentation.
set link mtu 1460
# Configure PPTP
set pptp self 198.211.192.97
# Allow to accept calls
set link enable incoming
##############
# set auth authname "server.rus"
# set auth password coX_9946
# set pptp peer 88.87.18.10
pptp_client:
#
# PPTP client: only outgoing calls, auto reconnect,
# ipcp-negotiated address, one-sided authentication,
# default route points on ISP's end
#
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 server.rus
set auth password coX_9946
set link max-redial 0
set link mtu 1460
set link keep-alive 20 75
set pptp peer 88.87.18.10
set pptp disable windowing
open
beer#
подскажите что не так плиз!