The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"Поднятие vpn+poptop Поможите"
Вариант для распечатки Архивированная нить - только для чтения! 
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [Проследить за развитием треда]

"Поднятие vpn+poptop Поможите"
Сообщение от jamper emailИскать по авторуВ закладки on 26-Мрт-04, 16:20  (MSK)
Пытаюсь поднять vpn по статье linux.opennet.ru/base/net/vpd_freebsd.txt.html

Оно мне отвечает /var/log/ppp

Mar 26 15:59:44 proxy ppp[51128]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE)
Mar 26 15:59:44 proxy ppp[51128]: tun0: Command: default: set device /dev/cuaa1
Mar 26 15:59:44 proxy ppp[51128]: tun0: Command: default: set speed 115200
Mar 26 15:59:44 proxy ppp[51128]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5            ""
AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT 40 CONNECT
Mar 26 15:59:44 proxy ppp[51128]: tun0: Command: default: set timeout 180
Mar 26 15:59:44 proxy ppp[51128]: tun0: Command: default: enable dns
Mar 26 15:59:44 proxy ppp[51128]: tun0: Command: pptp: set radius /etc/radius.conf
Mar 26 15:59:44 proxy ppp[51128]: tun0: Command: pptp: set ifaddr 192.168.0.1 192.168.1.1-192.168.1.200
Mar 26 15:59:44 proxy ppp[51128]: tun0: IPCP: Selected IP address 192.168.1.52
Mar 26 15:59:44 proxy ppp[51128]: tun0: Command: pptp: enable chap
Mar 26 15:59:44 proxy ppp[51128]: tun0: Command: pptp: enable pap
Mar 26 15:59:44 proxy ppp[51128]: tun0: Command: pptp: enable mschap
Mar 26 15:59:44 proxy ppp[51128]: tun0: Warning: enable mschap: Invalid command
Mar 26 15:59:44 proxy ppp[51128]: tun0: Warning: enable mschap: Failed 1
Mar 26 15:59:44 proxy ppp[51128]: tun0: Command: pptp: set rad_service_type 11
Mar 26 15:59:44 proxy ppp[51128]: tun0: Command: pptp: set vpn on
Mar 26 15:59:44 proxy ppp[51128]: tun0: Command: pptp: set rad_alive 120
Mar 26 15:59:44 proxy ppp[51128]: tun0: Command: pptp: set ip-up /etc/ppp/shape.ppp
Mar 26 15:59:44 proxy ppp[51128]: tun0: Command: pptp: set ip-down /etc/ppp/shape.ppp
Mar 26 15:59:44 proxy ppp[51128]: tun0: Phase: PPP Started (direct mode).
Mar 26 15:59:44 proxy ppp[51128]: tun0: Phase: bundle: Establish
Mar 26 15:59:44 proxy ppp[51128]: tun0: Phase: deflink: closed -> opening
Mar 26 15:59:44 proxy ppp[51128]: tun0: Phase: deflink: Connected!
Mar 26 15:59:44 proxy ppp[51128]: tun0: Phase: deflink: opening -> carrier
Mar 26 15:59:44 proxy ppp[51128]: tun0: Phase: deflink: carrier -> lcp
Mar 26 15:59:44 proxy ppp[51128]: tun0: LCP: FSM: Using "deflink" as a transport
Mar 26 15:59:44 proxy ppp[51128]: tun0: LCP: deflink: State change Initial --> Closed
Mar 26 15:59:44 proxy ppp[51128]: tun0: LCP: deflink: State change Closed --> Stopped
Mar 26 15:59:45 proxy ppp[51128]: tun0: LCP: deflink: LayerStart
Mar 26 15:59:45 proxy ppp[51128]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Mar 26 15:59:45 proxy ppp[51128]: tun0: LCP:  ACFCOMP[2]
Mar 26 15:59:45 proxy ppp[51128]: tun0: LCP:  PROTOCOMP[2]
Mar 26 15:59:45 proxy ppp[51128]: tun0: LCP:  ACCMAP[6] 0x00000000
Mar 26 15:59:45 proxy ppp[51128]: tun0: LCP:  MRU[4] 1500
Mar 26 15:59:45 proxy ppp[51128]: tun0: LCP:  MAGICNUM[6] 0x83565330
Mar 26 15:59:45 proxy ppp[51128]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
Mar 26 15:59:45 proxy ppp[51128]: tun0: LCP: deflink: State change Stopped --> Req-Sent
Mar 26 15:59:45 proxy ppp[51128]: tun0: Phase: deflink: read (0): Got zero bytes
Mar 26 15:59:45 proxy ppp[51128]: tun0: LCP: deflink: State change Req-Sent --> Starting
Mar 26 15:59:45 proxy ppp[51128]: tun0: LCP: deflink: LayerFinish
Mar 26 15:59:45 proxy ppp[51128]: tun0: LCP: deflink: State change Starting --> Initial
Mar 26 15:59:45 proxy ppp[51128]: tun0: Phase: deflink: Disconnected!
Mar 26 15:59:45 proxy ppp[51128]: tun0: Phase: deflink: Connect time: 1 secs: 0 octets in, 60 octets out
Mar 26 15:59:45 proxy ppp[51128]: tun0: Phase: deflink: 0 packets in, 1 packets out
Mar 26 15:59:45 proxy ppp[51128]: tun0: Phase:  total 60 bytes/sec, peak 0 bytes/sec on Fri Mar 26 15:59:44 2004
Mar 26 15:59:45 proxy ppp[51128]: tun0: Phase: deflink: lcp -> closed
Mar 26 15:59:45 proxy ppp[51128]: tun0: Phase: bundle: Dead
Mar 26 15:59:45 proxy ppp[51128]: tun0: Phase: PPP Terminated (normal).


мой конфиг /etc/ppp/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:                                                                          
set radius /etc/radius.conf
set ifaddr 192.168.0.1 192.168.1.1-192.168.1.200
enable chap
enable pap
enable mschap
set rad_service_type 11
set vpn on
set rad_alive 120
set ip-up /etc/ppp/shape.ppp
set ip-down /etc/ppp/shape.ppp


  Рекомендовать в FAQ | Cообщить модератору | Наверх

 Оглавление

Индекс форумов | Темы | Пред. тема | След. тема
Сообщения по теме

1. "Поднятие vpn+poptop Поможите"
Сообщение от INM emailИскать по авторуВ закладки on 27-Мрт-04, 16:35  (MSK)
а mpd тебе чем не подошло?
cd /usr/ports/net/mpd
в принципе тоже самое, но под фри заточено и гемора меньше
  Рекомендовать в FAQ | Cообщить модератору | Наверх


Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Пожалуйста, прежде чем написать сообщение, ознакомьтесь с данными рекомендациями.




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру