Date: Thu, 28 Nov 2002 16:41:42 +0500
From: Max Khon <Max_Khon@p666.f79.n5000.z2.fidonet.org>
Newsgroups: ftn.ru.unix.bsd
Subject: Настройка VPN-клиента на FreeBSD через mpd
TA> Как сказал админ нашей сети у нас стоит PPTP и нужно использовать
TA> mpd.
пример рабочего конфига:
- --- cut here (mpd.conf) ---
default:
load vpn
vpn:
new -i ng0 vpn vpn
set iface disable on-demand
set iface addrs 192.168.1.1 192.168.2.1
set iface idle 0
set iface route default
set bundle disable multilink
set bundle authname "XXXXXX"
set bundle password "YYYYYY"
set link yes acfcomp protocomp
set link disable chap pap
set link accept chap pap
# set link no pap
# set link yes chap
# If remote machine is NT you need this..
set link enable no-orig-auth
set link keep-alive 10 75
set ipcp yes vjcomp
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
#
# 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 ccp yes mpp-e40
set ccp yes mpp-e128
set bundle enable crypt-reqd
set ccp yes mpp-stateless
open
- --- cut here ---
- --- cut here (mpd.links) ---
vpn:
set link type pptp
set pptp self A.B.C.D
set pptp peer X.Y.Z.W
set pptp enable originate incoming outcall
- --- cut here ---
XXXXXX -- username
YYYYYY -- password
A.B.C.D -- твой IP
X.Y.Z.W -- IP pptp сервера
612 Прочтений • [Настройка VPN-клиента на FreeBSD через mpd (vpn bsd freebsd tunnel pptp)] [08.05.2012] [Комментариев: 0]