Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Alexey Vasiliev                      2:5020/400     16 Mar 2003  11:47:57
 To : Alexey Vasiliev
 Subject : Re: VPN pptpclient
 -------------------------------------------------------------------------------- 
 
 В догонку.
 
 If you have configured a PPP client before, this should look familiar. I
 took the example provided by the port but saved the existing .conf file.
 
 cd /etc/ppp
 mv ppp.conf ppp.conf.original
 cp usr/local/share/examples/pptpclient/ppp.conf .
 chmod 640 ppp.conf
 The chmod ensures that the password contained in the file is not readable by
 everyone.
 
 If you read the /usr/local/share/examples/pptpclient you will see that you
 need to change a few things in the .conf file. I changed the items shown in
 bold.
 
 $ less ppp.conf
 THEOFFICE:
  set authname myusername
  set authkey mypassword
  set timeout 0
  set ifaddr 0 0
  add 10.5.9.0/24 HISADDR
  alias enable yes
 The items in bold are:
 
 THEOFFICE: This is just a label. Give it a descriptive value. You will use
 this value on the command line when you invoke pptp.
 myusername: This is the user name assigned to you and which you use to
 authenticate at the VPN server.
 mypassword: This is the password you use in combination with the user name
 above.
 10.5.9.0/24: This is the IP address of the VPN which you will be connecting
 to. Talk to your VPN administrator to find out what value you should be
 using. This is the value I will be using later when I get a static route.
 Starting the client
 
 Starting the client is easy:
 
 /usr/local/sbin/pptp a.b.c.d THEOFFICE
 where a.b.c.d is the IP address of VPN Server and THEOFFICE is the label you
 created in the ppp.conf file. When you're done, you can just CONTROL-C it
 away.
 --- ifmail v.2.15dev5
  * Origin: Radio-MSU NOC, Moscow State University (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 VPN pptpclient   Alexey Vasiliev   16 Mar 2003 09:50:56 
 Re: VPN pptpclient   Alexey Vasiliev   16 Mar 2003 11:47:57 
 VPN pptpclient   Љ а¤ ­Ґў Ђ.   17 Mar 2003 01:08:04 
 Re: VPN pptpclient   Andrew Filonov   17 Mar 2003 02:01:09 
 Re: VPN pptpclient   Alexander Kardashevski.   17 Mar 2003 15:09:26 
Архивное /ru.unix.bsd/182533773a7dd.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional