ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Проблемы с vpn
@ 2006-04-08 13:47 some_x
  2006-04-08 14:03 ` some_x
  0 siblings, 1 reply; 2+ messages in thread
From: some_x @ 2006-04-08 13:47 UTC (permalink / raw)
  To: ALT Linux Community

Здравствуйте. Может быть у меня руки искривляются при мысли о vpn под 
линуксом, может быть меня кто-то проклял на эту тему, но я в очередной 
раз не могу настроить vpn.
Итак, настройка под офтоп написана здесь:http://unlim.tomsk.ru/vpn.html.
Файлы /etc/ppp/peers/kvpnc.unlimited и
При попытке соединения:
    $ sudo service pptptunnel start
    Starting "kvpnc.unlimited" PPTP tunnel service: Using interface ppp0
    Connect: ppp0 <--> /dev/pts/7
    EAP: Identity prompt "Name"
    Modem hangup
    Connection terminated.

При этом в /var/log/info:

    Apr  8 21:42:23 localhost pppd[8221]: pppd 2.4.2 started by root, uid 0
    Apr  8 21:42:23 localhost pppd[8221]: Using interface ppp0
    Apr  8 21:42:23 localhost pppd[8221]: Connect: ppp0 <--> /dev/pts/7
    Apr  8 21:42:23 localhost pptp[8222]: anon log[main:pptp.c:267]: The 
synchronous pptp option is NOT activated
    Apr  8 21:42:23 localhost pppd: Using interface ppp0
    Apr  8 21:42:23 localhost pppd: Connect: ppp0 <--> /dev/pts/7
    Apr  8 21:42:23 localhost pptp[8234]: anon 
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1        
'Start-Control-Connection-Request'
    Apr  8 21:42:23 localhost pptp[8234]: anon 
log[ctrlp_disp:pptp_ctrl.c:732]: Received Start Control Connection Reply
    Apr  8 21:42:23 localhost pptp[8234]: anon 
log[ctrlp_disp:pptp_ctrl.c:766]: Client connection established.
    Apr  8 21:42:24 localhost pptp[8234]: anon 
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 
'Outgoing-Call-Request'
    Apr  8 21:42:24 localhost pptp[8234]: anon 
log[ctrlp_disp:pptp_ctrl.c:851]: Received Outgoing Call Reply.
    Apr  8 21:42:24 localhost pptp[8234]: anon 
log[ctrlp_disp:pptp_ctrl.c:890]: Outgoing call established (call ID 0, 
peer's call ID 32256).
    Apr  8 21:42:24 localhost pppd[8221]: EAP: Identity prompt "Name"
    Apr  8 21:42:24 localhost pppd: EAP: Identity prompt "Name"
    Apr  8 21:42:24 localhost pptp[8234]: anon 
log[pptp_read_some:pptp_ctrl.c:537]: read returned zero, peer has closed
    Apr  8 21:42:24 localhost pptp[8234]: anon 
log[callmgr_main:pptp_callmgr.c:253]: Closing connection
    Apr  8 21:42:24 localhost pptp[8234]: anon 
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 
'Call-Clear-Request'
    Apr  8 21:42:24 localhost pptp[8234]: anon 
log[pptp_read_some:pptp_ctrl.c:537]: read returned zero, peer has closed
    Apr  8 21:42:24 localhost pptp[8234]: anon 
log[pptp_read_some:pptp_ctrl.c:537]: read returned zero, peer has closed
    Apr  8 21:42:24 localhost pppd[8221]: Modem hangup
    Apr  8 21:42:24 localhost pppd[8221]: Connection terminated.
    Apr  8 21:42:24 localhost pppd: Modem hangup
    Apr  8 21:42:24 localhost pppd: Connection terminated.
    Apr  8 21:42:24 localhost pppd[8221]: Exit.
    Apr  8 21:42:24 localhost pptptunnel: pppd startup failed
    Apr  8 21:42:26 localhost pptp[8234]: anon 
log[pptp_send_ctrl_packet:pptp_ctrl.c:615]: write error: Broken pipe
    Apr  8 21:42:26 localhost pptp[8234]: anon 
log[call_callback:pptp_callmgr.c:77]: Closing connection
    Apr  8 21:42:26 localhost pptp[8234]: anon 
log[pptp_conn_close:pptp_ctrl.c:433]: Closing PPTP connection
    Apr  8 21:42:26 localhost pptp[8234]: anon 
log[pptp_write_some:pptp_ctrl.c:509]: write error: Bad file descriptor
    Apr  8 21:42:26 localhost pptp[8234]: anon 
log[ctrlp_rep:pptp_ctrl.c:251]: Buffered control packet type is 3 
'Stop-Control-Connection-Request'

По какой причине происходит прекращение связи я что-топонять не могу, а 
играние с опциями ни к какому эффекту не привело, подскажите в чём может 
быть пролема.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] Проблемы с vpn
  2006-04-08 13:47 [Comm] Проблемы с vpn some_x
@ 2006-04-08 14:03 ` some_x
  0 siblings, 0 replies; 2+ messages in thread
From: some_x @ 2006-04-08 14:03 UTC (permalink / raw)
  To: ALT Linux Community

[-- Attachment #1: Type: text/plain, Size: 122 bytes --]

some_x wrote:

>Здравствуйте. Может быть у меня руки искривляются при мысли о vpn под 
>  
>
файлы благополучно забыл :-)

[-- Attachment #2: chap-secrets --]
[-- Type: text/plain, Size: 163 bytes --]

# generated by kvpnc. Do not edit it.
# profile: unlimited
# client server secret IP addresses
egjcb pptp-server passwdwashere *
pptp-server egjcb passwdwashere *

[-- Attachment #3: kvpnc.unlimited --]
[-- Type: text/plain, Size: 792 bytes --]

# generated by kvpnc. Do not edit it.
# profile: unlimited


# name of tunnel, used to select lines in secrets files
remotename pptp-server

# name of tunnel, used to name /var/run pid file
linkname unlimited

# name of tunnel, passed to ip-up scripts
ipparam unlimited

# data stream for pppd to use
pty "pptp unlim.tomsk.ru --nolaunchpppd"

# domain and username, used to select lines in secrets files
name egjcb

# retrieve DNS from peer
#usepeerdns

# disable MPPE compression
#nomppe

# Allow MPPE stateful mode
#mppe-stateful

# do not require the server to authenticate to our client
#noauth

# we want to see what happen
nodetach

# lock the device
#lock

# Dont use BSD compression
#nobsdcomp

# Dont use deflate method
#nodeflate

defaultroute

# Use no IP by default
#noipdefault


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-08 14:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-08 13:47 [Comm] Проблемы с vpn some_x
2006-04-08 14:03 ` some_x

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git