>>У меня такая проблема:
>>На серве настроен ВПН но где он сидит понять не могу,
>
> Вам хоть сказали куда у вас VPN настроен на входящие соединения
>или исходящие...
> можно еще попробовать посмотреть софт, что стоит
> pkg_info и привести /etc/rc.conf
>pkg_info
aspell-0.60.4_4 Spelling checker with better suggestion logic than ispell
cvsup-without-gui-16.1h_2 General network file distribution system optimized for CVS
dovecot-1.2.10 Secure and compact IMAP and POP3 servers
exim-4.71 High performance MTA for Unix systems on the Internet
expat-2.0.0_1 XML 1.0 parser written in C
ezm3-1.2_1 Easier, more portable Modula-3 distribution for building CV
gettext-0.14.5_2 GNU gettext package
gmake-3.81_1 GNU version of 'make' utility
gnupg-2.0.14 The GNU Privacy Guard
joe-3.5,1 Joe's Own Editor
libassuan-1.0.5 IPC library used by GnuPG and gpgme
libdrm-2.0.2 Userspace interface to kernel Direct Rendering Module servi
libgcrypt-1.4.5 General purpose crypto library based on code used in GnuPG
libgpg-error-1.7 Common error values for all GnuPG components
libiconv-1.9.2_2 A character set conversion library
libksba-1.0.7 KSBA is an X.509 Library
libspf2-1.2.9_1 Sender Rewriting Scheme 2 C Implementation
libsrs2-1.0.18_1 Sender Rewriting Scheme 2 C Implementation
libtool-2.2.6b Generic shared library support script
makepasswd-1.10_3 Random password generator
p5-Archive-Tar-1.56 Perl module for creation and manipulation of tar files
p5-Compress-Raw-Bzip2-2.024 Low-Level Interface to bzip2 compression library
p5-Compress-Raw-Zlib-2.024 Low-Level Interface to zlib compression library
p5-Compress-Zlib-2.015 Perl5 interface to zlib compression library
p5-Crypt-OpenSSL-Bignum-0.04 OpenSSL's multiprecision integer arithmetic
p5-Crypt-OpenSSL-RSA-0.26 Perl5 module to RSA encode and decode strings using OpenSSL
p5-Crypt-OpenSSL-Random-0.04 Perl5 interface to the OpenSSL pseudo-random number generat
p5-Crypt-PasswdMD5-1.3_1 Perl module that provides interoperable MD5-based crypt() f
p5-Digest-HMAC-1.02 Perl5 interface to HMAC Message-Digest Algorithms
p5-Digest-SHA-5.48 Perl extension for SHA-1/224/256/384/512
p5-Digest-SHA1-2.12 Perl interface to the SHA-1 Algorithm
p5-Encode-Detect-1.01 An Encode::Encoding subclass that detects the encoding of d
p5-Error-0.17016 Perl module to provide Error/exception support for perl: Er
p5-ExtUtils-CBuilder-0.2703,1 Compile and link C code for Perl modules
p5-ExtUtils-ParseXS-2.22.03 Converts Perl XS code into C code
p5-Geography-Countries-2009041301 Handle ISO-3166 country codes
p5-HTML-Parser-3.64 Perl5 module for parsing HTML documents
p5-HTML-Tagset-3.20 Some useful data table in parsing HTML
p5-IO-Compress-Base-2.015 Base Class for IO::Uncompress modules
p5-IO-Compress-Bzip2-2.015 An interface to allow writing bzip2 compressed data to file
p5-IO-Compress-Zlib-2.015 Perl5 interface for reading and writing of (g)zip files
p5-IO-Socket-INET6-2.57 Perl module with object interface to AF_INET6 domain socket
p5-IO-Socket-SSL-1.31 Perl5 interface to SSL sockets
p5-IO-String-1.08 Simplified Perl5 module to handle I/O on in-core strings
p5-IO-Zlib-1.10 IO:: style interface to Compress::Zlib
p5-IP-Country-2.27 Fast lookup of country codes from IP addresses
p5-Mail-DKIM-0.37 Perl5 module to process and/or create DKIM email
p5-Mail-SPF-2.007 Reference implementation of the RFC 4408 SPF protocol
p5-Mail-SpamAssassin-3.3.0_3 A highly efficient mail filter for identifying spam
p5-Mail-Tools-2.06 Perl5 modules for dealing with Internet e-mail messages
p5-Math-BigInt-1.89 Math::BigInt - Arbitrary size integer math package
p5-Module-Build-0.3601 Build and install Perl modules
p5-Net-DNS-0.66 Perl5 interface to the DNS resolver, and dynamic updates
p5-Net-DNS-Resolver-Programmable-0.003 Programmable DNS resolver for off-line testing
p5-Net-IP-1.25_1 Perl extension for manipulating IPv4/IPv6 addresses
p5-Net-SSLeay-1.36 Perl5 interface to SSL
p5-NetAddr-IP-4.02.7 Perl module for working with IP addresses and blocks thereo
p5-Package-Constants-0.02 List all constants declared in a package
p5-Socket6-0.23 IPv6 related part of the C socket.h defines and structure m
p5-Test-Harness-3.21 Run perl standard test scripts with statistics
p5-Time-HiRes-1.9721,1 A perl5 module implementing High resolution time, sleep, an
p5-TimeDate-1.20,1 Perl5 module containing a better/faster date parser for abs
p5-URI-1.52 Perl5 interface to Uniform Resource Identifier (URI) refere
p5-YAML-0.71 YAML implementation in Perl
p5-libwww-5.834 Perl5 library for WWW access
p5-version-0.78 Perl extension for Version Objects
pcre-8.00 Perl Compatible Regular Expressions library
perl-5.8.8 Practical Extraction and Report Language
pkg-config-0.21 A utility to retrieve information about installed libraries
png-1.2.12_1 Library for manipulating PNG images
poptop-1.3.0 Windows 9x compatible PPTP (VPN) server
pth-2.0.7 GNU Portable Threads
razor-agents-2.84 A distributed, collaborative, spam detection and filtering
re2c-0.13.5 Compile regular expression to C (much faster final code tha
screen-4.0.3 A multi-screen window manager
squid-2.6.3 HTTP Caching Proxy
sudo-1.6.8.12_1 Allow others to run commands as root
trafshow-5.2.3,1 Full screen visualization of network traffic
уря это походу оно)
poptop-1.3.0 Windows 9x compatible PPTP (VPN) server
нашел статью о настройке PPTP клиента под FreeBSD там написано что настройки лежат в файле /etc/ppp/ppp.conf
mail# vi ppp.conf
#################################################################
# PPP Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by wself@cdrom.com
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $
#################################################################
default:
#set log Phase Chat LCP IPCP CCP tun command
#ident user-ppp VERSION (built COMPILATIONDATE)
## Ensure that "device" references the correct serial port
## for your modem. (cuaa0 = COM1, cuaa1 = COM2)
##
#set device /dev/cuaa1
#set speed 115200
#set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
# \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
set timeout 180 # 3 minute idle timer (the default)
enable dns # request DNS info (for resolv.conf)
papchap:
#
# edit the next three lines and replace the items in caps with
# the values which have been assigned by your ISP.
#
set phone PHONE_NUM
set authname USERNAME
set authkey PASSWORD
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR # Add a (sticky) default route
pptp:
enable chap81
#enable proxy
accept dns
enable dns
set timeout 0
set dns "мой ДНС"
set ifaddr 192.168.2.252 192.168.2.2-192.168.2.250 255.255.255.255
Но как мне поменять пароль? "PASSWORD" это не мой пароль на подключение, "USERNAME" также не имя пользователя.
это команда vi так отображает файл? если да то как его изменить?
если нет то где хранятся пользователи для подключения к ВПН и как их юзать?