[FUG-BR] RES: FreeBSD6.2STABLE + MPD (VPN)

João David Prevedello jd em prevedello.inf.br
Domingo Fevereiro 25 10:35:46 BRT 2007


Cara, nem perde muito tempo com o MPD, vai no poptop que é melhor..

JD

-----Mensagem original-----
De: freebsd-bounces em fug.com.br [mailto:freebsd-bounces em fug.com.br] Em nome
de Jeandre Uchoa
Enviada em: domingo, 25 de fevereiro de 2007 02:23
Para: freebsd em fug.com.br
Assunto: [FUG-BR] FreeBSD6.2STABLE + MPD (VPN)

Caros,


                   Estou com dificuldades no MPD, a configuração está abaixo

e logs da conexão também. Estou usando o XP SP2 e recebo uma mensagem de que

não foi possivel verificar a identidade no servidor. Alguém sabe como 
ajudar?



[root em fiesta:/usr/local/etc/mpd4] # cat mpd.conf
startup:
        # enable TCP-Wrapper (hosts_access(5)) to block unfriendly clients
        set global enable tcp-wrapper
        # configure the console
        set console port 5005
        set console ip 0.0.0.0
        set console user jeandre uchoa
        set console open

default:
               load pptp0
               load pptp1

pptp0:
               new -i ng0 pptp0 pptp0
               set ipcp ranges 192.168.3.1/32 192.168.3.0/24
               load client_standard

pptp1:
               new -i ng1 pptp1 pptp1
               set ipcp ranges 192.168.2.1/32 192.168.2.0/24
               load client_standard

client_standard:
        set iface disable on-demand
        set iface enable proxy-arp
        set iface idle 0
        set iface enable tcpmssfix
        set bundle disable multilink
        set bundle enable compression
        set link yes acfcomp protocomp
        set link no pap chap
        set link enable chap
        set link mtu 1460
        set link keep-alive 10 60
        set ipcp yes vjcomp
        set ipcp dns 192.168.0.2
        set ipcp nbns 192.168.0.2
        set ccp yes mppc
        set ccp disable mpp-compress
        set ccp yes mpp-e56
        set ccp yes mpp-e128
        set ccp yes mpp-stateless
        set bundle enable crypt-reqd

[root em fiesta:/usr/local/etc/mpd4] # cat mpd.links
pptp0:
  set link type pptp
  set pptp self 192.168.0.2
  set pptp enable incoming
  set pptp disable originate

pptp1:
  set link type pptp
  set pptp self 192.168.0.2
  set pptp enable incoming
  set pptp disable originate

[root em fiesta:/usr/local/etc/mpd4] # cat mpd.secret
usuario        senha   192.168.3.1
jeandre        senha   192.168.2.1

[root em fiesta:/usr/local/etc/mpd4] # mpd4 -k
Multi-link PPP for FreeBSD, by Archie L. Cobbs.
Based on iij-ppp, by Toshiharu OHNO.
mpd: pid 15533, version 4.0b5 (root em fiesta.supernetcom.com.br 22:18 
22-Fev-2007)
CONSOLE: listening on 0.0.0.0 5005
[pptp0] ppp node is "mpd15533-pptp0"
tcpmss node is "mpd15533-mss"
[pptp0] using interface ng0
[pptp1] ppp node is "mpd15533-pptp1"
[pptp1] using interface ng1
mpd: PPTP connection from 192.254.254.251 3467
pptp0: attached to connection with 192.254.254.251 3467
[pptp0] opening link "pptp0"...
[pptp0] link: OPEN event
[pptp0] LCP: Open event
[pptp0] LCP: state change Initial --> Starting
[pptp0] LCP: LayerStart
[pptp0] attaching to peer's outgoing call
[pptp0] link: UP event
[pptp0] link: origination is remote
[pptp0] LCP: Up event
[pptp0] LCP: state change Starting --> Req-Sent
[pptp0] LCP: SendConfigReq #1
 ACFCOMP
 PROTOCOMP
 MRU 1500
 MAGICNUM 438ed756
 AUTHPROTO CHAP MSOFTv2
pptp0-0: ignoring SetLinkInfo
[pptp0] LCP: rec'd Configure Request #0 link 0 (Req-Sent)
 MRU 1400
 MAGICNUM 638e6b48
 PROTOCOMP
 ACFCOMP
 CALLBACK
   Not supported
[pptp0] LCP: SendConfigRej #0
 CALLBACK
[pptp0] LCP: rec'd Configure Request #1 link 0 (Req-Sent)
 MRU 1400
 MAGICNUM 638e6b48
 PROTOCOMP
 ACFCOMP
[pptp0] LCP: SendConfigAck #1
 MRU 1400
 MAGICNUM 638e6b48
 PROTOCOMP
 ACFCOMP
[pptp0] LCP: state change Req-Sent --> Ack-Sent
[pptp0] LCP: SendConfigReq #2
 ACFCOMP
 PROTOCOMP
 MRU 1500
 MAGICNUM 438ed756
 AUTHPROTO CHAP MSOFTv2
[pptp0] LCP: rec'd Configure Ack #2 link 0 (Ack-Sent)
 ACFCOMP
 PROTOCOMP
 MRU 1500
 MAGICNUM 438ed756
 AUTHPROTO CHAP MSOFTv2
[pptp0] LCP: state change Ack-Sent --> Opened
[pptp0] LCP: auth: peer wants nothing, I want CHAP
[pptp0] CHAP: sending CHALLENGE len:17
[pptp0] LCP: LayerUp
[pptp0] LCP: rec'd Ident #2 link 0 (Opened)
 MESG: MSRASV5.10
pptp0-0: ignoring SetLinkInfo
[pptp0] LCP: rec'd Ident #3 link 0 (Opened)
 MESG: MSRAS-0-PCHOME
[pptp0] CHAP: rec'd RESPONSE #1
 Name: "jeandre"
[pptp0] AUTH: Auth-Thread started
[pptp0] AUTH: Trying secret file: mpd.secret
 Peer name: "jeandre"
[pptp0] AUTH: Auth-Thread finished normally
[pptp0] CHAP: ChapInputFinish: status undefined
 Response is valid
[pptp0] CHAP: sending SUCCESS len:42
[pptp0] LCP: authorization successful
[pptp0] Bundle up: 1 link, total bandwidth 64000 bps
[pptp0] IPCP: Open event
[pptp0] IPCP: state change Initial --> Starting
[pptp0] IPCP: LayerStart
[pptp0] CCP: Open event
[pptp0] CCP: state change Initial --> Starting
[pptp0] CCP: LayerStart
[pptp0] IPCP: Up event
[pptp0] IPCP: state change Starting --> Req-Sent
[pptp0] IPCP: SendConfigReq #1
 IPADDR 192.168.3.1
 COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
[pptp0] CCP: Up event
[pptp0] CCP: state change Starting --> Req-Sent
[pptp0] CCP: SendConfigReq #1
[pptp0] CCP: Checking whether 40 bits are enabled -> no
[pptp0] CCP: Checking whether 56 bits are enabled -> yes
[pptp0] CCP: Checking whether 128 bits are enabled -> yes
 MPPC
   0x010000c0: MPPE, 56 bit, 128 bit, stateless
[pptp0] LCP: rec'd Terminate Request #4 link 0 (Opened)
[pptp0] LCP: state change Opened --> Stopping
[pptp0] AUTH: Accounting data for user jeandre: 2 seconds, 201 octets in, 
192 octets out
[pptp0] AUTH: Cleanup
[pptp0] Bundle up: 0 links, total bandwidth 9600 bps
[pptp0] IPCP: Down event
[pptp0] IPCP: state change Req-Sent --> Starting
[pptp0] CCP: Down event
[pptp0] CCP: state change Req-Sent --> Starting
[pptp0] IPCP: Close event
[pptp0] IPCP: state change Starting --> Initial
[pptp0] IPCP: LayerFinish
[pptp0] No NCPs left. Closing links...
[pptp0] closing link "pptp0"...
[pptp0] CCP: Close event
[pptp0] CCP: state change Starting --> Initial
[pptp0] CCP: LayerFinish
[pptp0] Last link has gone and no noretry option, will reopen in 3 seconds
[pptp0] LCP: SendTerminateAck #3
[pptp0] LCP: LayerDown
[pptp0] link: CLOSE event
[pptp0] LCP: Close event
[pptp0] LCP: state change Stopping --> Closing
pptp0-0: ignoring SetLinkInfo
[pptp0] LCP: state change Closing --> Closed
[pptp0] LCP: LayerFinish
pptp0-0: clearing call
pptp0-0: killing channel
[pptp0] PPTP call terminated
[pptp0] IFACE: Close event
[pptp0] IFACE: Close event
pptp0: closing connection with 192.254.254.251 3467
[pptp0] IFACE: Close event
[pptp0] link: DOWN event
[pptp0] LCP: Down event
[pptp0] LCP: state change Closed --> Initial
[pptp0] link: DOWN event
[pptp0] LCP: Down event
pptp0: killing connection with 192.254.254.251 3467
[pptp0] Last link has gone and no noretry option, reopening in 3 seconds


Att,


Jeandre Uchoa.


 

-------------------------
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd



Mais detalhes sobre a lista de discussão freebsd