Поднятие второго VPN подключение поверх основного

Taras taras.perebeynosov на gmail.com
Вс Май 16 09:49:09 BST 2010


п²п╣ п©п╬п╪п╬пЁп╩п╬ :(


taras на taras-desktop:~$ cat /etc/ppp/peers/vpn_beeline 
pty "pptp vpn.internet.beeline.ru --nolaunchpppd --nobuffer --loglevel
0"
connect /bin/true
name 0893098254
remotename PPTP
file /etc/ppp/options.vpn_beeline
ipparam vpn_beeline
persist
maxfail 0
lcp-echo-interval 30
lcp-echo-failure 4
mtu 1460

taras на taras-desktop:~$ cat /etc/ppp/options.vpn_beeline 
nodeflate
nobsdcomp
noauth

taras на taras-desktop:~$ cat /etc/ppp/peers/nc
pty "pptp pptp.netcracker.org --nolaunchpppd --nobuffer --loglevel 0"
connect /bin/true
name perebeynosov
remotename PPTP-NC
file /etc/ppp/options.nc
ipparam nc
persist
maxfail 0
lcp-echo-interval 30
lcp-echo-failure 4
mtu 1460

taras на taras-desktop:~$ cat /etc/ppp/options.nc 
nodeflate
nobsdcomp
#noauth
#require-chap
require-mschap-v2
debug

taras на taras-desktop:~$ sudo cat /etc/ppp/chap-secrets 
0893098254 PPTP <myPass> *
perebeynosov PPTP-NC     <myPass>     *

taras на taras-desktop:~$ sudo pon nc 
/usr/sbin/pppd: The remote system (PPTP-NC) is required to authenticate
itself
/usr/sbin/pppd: but I couldn't find any suitable secret (password) for
it to use to do so.




> пёп╠п╣я─п╦я┌п╣ noauth - п╡п╫я▐я┌п╫п╬ п╤п╣ п╫п╟п©п╦я│п╟п╫п╬, я┤я┌п╬ я│п╣я─п╡п╣я─ я┘п╬я┤п╣я┌ я│п╣п╠я▐
> п╟я┐я┌п╣п╫я┌п╦я└п╦я├п╦я─п╬п╡п╟я┌я▄, п╟ п╡п╟я┬ п╨п╬п╫я└п╪пЁ п╣п╪я┐ я█я┌п╬ п╥п╟п©я─п╣я┴п╟п╣я┌.
> 
> 14 п╪п╟я▐ 2010 пЁ. 12:34 п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▄ п╒п╟я─п╟я│ п÷п╣я─п╣п╠п╣п╧п╫п╬я│п╬п╡ <
> taras.perebeynosov на gmail.com> п╫п╟п©п╦я│п╟п╩:
> 
> > п╡п╬я┌ п╠п╣п╥ mschap-v2:
> >
> >
> > taras на taras-desktop:~$ *cat /etc/ppp/options.nc *
> > nodeflate
> > nobsdcomp
> > noauth
> > #require-chap
> > #require-mschap-v2
> > debug
> >
> > taras на taras-desktop:~$ *sudo pon nc*
> >
> >
> > taras на taras-desktop:~$ *cat /var/log/syslog|grep pp*
> > May 14 12:28:51 taras-desktop pppd[17726]: pppd 2.4.5 started by
> root, uid
> > 0
> > May 14 12:28:51 taras-desktop pppd[17726]: Script /bin/true finished
> (pid
> > 17728), status = 0x0
> > May 14 12:28:51 taras-desktop pppd[17726]: Serial connection
> established.
> > May 14 12:28:51 taras-desktop pppd[17726]: using channel 872
> > May 14 12:28:51 taras-desktop pppd[17726]: Using interface ppp1
> > May 14 12:28:51 taras-desktop pppd[17726]: Connect: ppp1
> <--> /dev/pts/5
> > May 14 12:28:51 taras-desktop NetworkManager:    SCPlugin-Ifupdown:
> devices
> > added (path: /sys/devices/virtual/net/ppp1, iface: ppp1)
> > May 14 12:28:51 taras-desktop NetworkManager:    SCPlugin-Ifupdown:
> device
> > added (path: /sys/devices/virtual/net/ppp1, iface: ppp1): no
> ifupdown
> > configuration found.
> > May 14 12:28:52 taras-desktop pppd[17726]: sent [LCP ConfReq id=0x1
> > <asyncmap 0x0> <magic 0xc4b539b0> <pcomp> <accomp>]
> > May 14 12:28:55 taras-desktop pppd[17726]: sent [LCP ConfReq id=0x1
> > <asyncmap 0x0> <magic 0xc4b539b0> <pcomp> <accomp>]
> > May 14 12:28:57 taras-desktop pptp[17729]: anon
> log[main:pptp.c:314]: The
> > synchronous pptp option is NOT activated
> > May 14 12:28:58 taras-desktop pppd[17726]: sent [LCP ConfReq id=0x1
> > <asyncmap 0x0> <magic 0xc4b539b0> <pcomp> <accomp>]
> > May 14 12:29:01 taras-desktop pppd[17726]: sent [LCP ConfReq id=0x1
> > <asyncmap 0x0> <magic 0xc4b539b0> <pcomp> <accomp>]
> > May 14 12:29:04 taras-desktop pppd[17726]: sent [LCP ConfReq id=0x1
> > <asyncmap 0x0> <magic 0xc4b539b0> <pcomp> <accomp>]
> > May 14 12:29:18 taras-desktop pppd[17726]: last message repeated 4
> times
> > May 14 12:29:18 taras-desktop pptp[17734]: anon
> > warn[open_inetsock:pptp_callmgr.c:329]: connect: Connection timed
> out
> > May 14 12:29:18 taras-desktop pptp[17734]: anon
> > fatal[callmgr_main:pptp_callmgr.c:127]: Could not open control
> connection to
> > 84.47.142.15
> > May 14 12:29:18 taras-desktop pptp[17729]: anon
> > fatal[open_callmgr:pptp.c:479]: Call manager exited with error 256
> > May 14 12:29:18 taras-desktop pppd[17726]: Script pptp
> pptp.netcracker.org--nolaunchpppd --nobuffer --loglevel 0 finished
> (pid 17727), status = 0x1
> > May 14 12:29:18 taras-desktop pppd[17726]: Modem hangup
> > May 14 12:29:18 taras-desktop pppd[17726]: Connection terminated.
> > May 14 12:29:18 taras-desktop NetworkManager:    SCPlugin-Ifupdown:
> devices
> > removed (path: /sys/devices/virtual/net/ppp1, iface: ppp1)
> > May 14 12:29:48 taras-desktop pppd[17726]: Script /bin/true finished
> (pid
> > 17801), status = 0x0
> > May 14 12:29:48 taras-desktop pppd[17726]: Serial connection
> established.
> > May 14 12:29:48 taras-desktop pppd[17726]: using channel 873
> > May 14 12:29:48 taras-desktop NetworkManager:    SCPlugin-Ifupdown:
> devices
> > added (path: /sys/devices/virtual/net/ppp1, iface: ppp1)
> > May 14 12:29:48 taras-desktop NetworkManager:    SCPlugin-Ifupdown:
> device
> > added (path: /sys/devices/virtual/net/ppp1, iface: ppp1): no
> ifupdown
> > configuration found.
> > May 14 12:29:48 taras-desktop pppd[17726]: Using interface ppp1
> > May 14 12:29:48 taras-desktop pppd[17726]: Connect: ppp1
> <--> /dev/pts/5
> > May 14 12:29:49 taras-desktop pppd[17726]: sent [LCP ConfReq id=0x2
> > <asyncmap 0x0> <magic 0xa933cc18> <pcomp> <accomp>]
> > May 14 12:29:52 taras-desktop pppd[17726]: sent [LCP ConfReq id=0x2
> > <asyncmap 0x0> <magic 0xa933cc18> <pcomp> <accomp>]
> > May 14 12:29:53 taras-desktop pptp[17802]: anon
> log[main:pptp.c:314]: The
> > synchronous pptp option is NOT activated
> > May 14 12:29:55 taras-desktop pppd[17726]: sent [LCP ConfReq id=0x2
> > <asyncmap 0x0> <magic 0xa933cc18> <pcomp> <accomp>]
> > May 14 12:30:06 taras-desktop pppd[17726]: last message repeated 3
> times
> > May 14 12:30:07 taras-desktop pppd[17726]: sent [LCP ConfReq id=0x2
> > <asyncmap 0x0> <magic 0xa933cc18> <pcomp> <accomp>]
> > May 14 12:30:14 taras-desktop pppd[17726]: last message repeated 2
> times
> > May 14 12:30:14 taras-desktop pptp[17807]: anon
> > warn[open_inetsock:pptp_callmgr.c:329]: connect: Connection timed
> out
> > May 14 12:30:14 taras-desktop pptp[17807]: anon
> > fatal[callmgr_main:pptp_callmgr.c:127]: Could not open control
> connection to
> > 84.47.142.15
> > May 14 12:30:14 taras-desktop pptp[17802]: anon
> > fatal[open_callmgr:pptp.c:479]: Call manager exited with error 256
> > May 14 12:30:14 taras-desktop pppd[17726]: Script pptp
> pptp.netcracker.org--nolaunchpppd --nobuffer --loglevel 0 finished
> (pid 17800), status = 0x1
> > May 14 12:30:14 taras-desktop pppd[17726]: Modem hangup
> > May 14 12:30:14 taras-desktop pppd[17726]: Connection terminated.
> > May 14 12:30:14 taras-desktop NetworkManager:    SCPlugin-Ifupdown:
> devices
> > removed (path: /sys/devices/virtual/net/ppp1, iface: ppp1)


----------- следущая часть -----------
п▓п╩п╬п╤п╣п╫п╦п╣ п╡ я└п╬я─п╪п╟я┌п╣ HTML п╠я▀п╩п╬ п╦п╥п╡п╩п╣я┤п╣п╫п╬&hellip;
URL: https://lists.ubuntu.com/archives/ubuntu-ru/attachments/20100516/fae837b8/attachment.htm 


Подробная информация о списке рассылки ubuntu-ru