[FUG-BR] RES: RES: Migrar poptop para FreeBSD 7.1

Giancarlo Rubio gianrubio em gmail.com
Sexta Abril 3 13:33:51 BRT 2009


Com que editor de texto vc esta abrindo isso??

2009/4/3 Ricardo Augusto de Souza <ricardo.souza em cmtsp.com.br>:
> Apr  3 15:15:48 Trinity ppp[1029]: Warning: Bad label in /etc/ppp/ppp.conf (line 2) - missing colon
> Apr  3 15:15:48 Trinity ppp[1029]: Warning: Bad label in /etc/ppp/ppp.conf (line 3) - missing colon
> Apr  3 15:15:48 Trinity ppp[1029]: Warning: Bad label in /etc/ppp/ppp.conf (line 4) - missing colon
> Apr  3 15:15:48 Trinity ppp[1029]: Warning: Bad label in /etc/ppp/ppp.conf (line 5) - missing colon
> Apr  3 15:15:48 Trinity ppp[1029]: Warning: Bad label in /etc/ppp/ppp.conf (line 6) - missing colon
> Apr  3 15:15:48 Trinity ppp[1029]: Warning: Bad label in /etc/ppp/ppp.conf (line 7) - missing colon
> Apr  3 15:15:48 Trinity ppp[1029]: Warning: Bad label in /etc/ppp/ppp.conf (line 8) - missing colon
> Apr  3 15:15:48 Trinity ppp[1029]: Warning: Bad label in /etc/ppp/ppp.conf (line 2) - missing colon
> Apr  3 15:15:48 Trinity ppp[1029]: Warning: Bad label in /etc/ppp/ppp.conf (line 3) - missing colon
> Apr  3 15:15:48 Trinity ppp[1029]: Warning: Bad label in /etc/ppp/ppp.conf (line 4) - missing colon
> Apr  3 15:15:48 Trinity ppp[1029]: Warning: Bad label in /etc/ppp/ppp.conf (line 5) - missing colon
> Apr  3 15:15:48 Trinity ppp[1029]: Warning: Bad label in /etc/ppp/ppp.conf (line 6) - missing colon
> Apr  3 15:15:48 Trinity ppp[1029]: Warning: Bad label in /etc/ppp/ppp.conf (line 7) - missing colon
> Apr  3 15:15:48 Trinity ppp[1029]: Warning: Bad label in /etc/ppp/ppp.conf (line 8) - missing colon
> Apr  3 15:15:48 Trinity ppp[1029]: Warning: Label /etc/ppp/option.pptp rejected -direct connection: Configuration label not found
>
> Estou utilizando a configuração proposta em http://www.freebsdconsult.com.br/artigos/mypage_30_VPN-com-poptop.html
>
> Alguem pode me dar uma ajuda?
>
>
> -----Mensagem original-----
> De: freebsd-bounces em fug.com.br [mailto:freebsd-bounces em fug.com.br] Em nome de Ricardo Augusto de Souza
> Enviada em: sexta-feira, 3 de abril de 2009 11:38
> Para: Lista Brasileira de Discussão sobre FreeBSD (FUG-BR)
> Assunto: [FUG-BR] RES: Migrar poptop para FreeBSD 7.1
>
> Valeu pelo artigo.
>
> Erro continua:
>
> Apr  3 13:25:30 Trinity ppp[3275]: Warning: Label /etc/ppp/option.pptp rejected -direct connection: Configuration label not found
> Apr  3 13:25:30 Trinity pptpd[3274]: GRE: read(fd=7,buffer=8058a40,len=8196) from PTY failed: status = 0 error = No error
> Apr  3 13:25:30 Trinity pptpd[3274]: CTRL: PTY read or GRE write failed (pty,gre)=(7,6)
> Apr  3 13:25:44 Trinity kernel: arp: 10.100.0.1 is on bce1 but got reply from 00:01:63:14:58:c0 on bce0
> ^C
> Trinity# cat /etc/ppp/option.pptp
> lock
> mtu 1490
> mru 1490
> proxyarp
> noauth
> +chap
> +chapms
> +chapms-v2
> ipcp-accept-local
> ipcp-accept-remote
> lcp-echo-failure 10
> lcp-echo-interval 10
> mppe-40
> mppe-128
> mppe-stateless
> require-chap
> debug
> name *
>
>
> -----Mensagem original-----
> De: freebsd-bounces em fug.com.br [mailto:freebsd-bounces em fug.com.br] Em nome de Wesley FreeBSD Consult
> Enviada em: sexta-feira, 3 de abril de 2009 11:21
> Para: Lista Brasileira de Discussão sobre FreeBSD (FUG-BR)
> Assunto: Re: [FUG-BR] Migrar poptop para FreeBSD 7.1
>
> Ricardo.
> Isso pode lhe ajudar,
> http://www.freebsdconsult.com.br/artigos/mypage_30_VPN-com-poptop.html
>
> -------
> Wesley Miranda
> FreeBSD Consult
> DTI - Departamento de Tecnologia da Informação
> Tel: (31) 3334-7991 (31) 9885-4571
> www.freebsdconsult.com.br
> dti em freebsdconsult.com.br
> ----- Original Message -----
> From: "Ricardo Augusto de Souza" <ricardo.souza em cmtsp.com.br>
> To: "Lista Brasileira de Discussão sobre FreeBSD (FUG-BR)"
> <freebsd em fug.com.br>
> Sent: Friday, April 03, 2009 11:13 AM
> Subject: [FUG-BR] Migrar poptop para FreeBSD 7.1
>
>
> Estou precisando subir um servidor VPN em poptop no FreeBSD 7.1.
>
> Rodando o poptop com  o /etc/ppp/ppp.conf original do Free estou obtendo o
> erro:
>
>
>
> Mar 27 16:06:38 Trinity ppp[788]: Warning: Label /etc/ppp/ppp.conf
> rejected -direct connection: Configuration label not found
>
> Mar 27 16:06:55 Trinity ppp[791]: Warning: Label /etc/ppp/ppp.conf
> rejected -direct connection: Configuration label not found
>
> Mar 27 16:06:56 Trinity ppp[794]: Warning: Label /etc/ppp/ppp.conf
> rejected -direct connection: Configuration label not found
>
> Mar 27 16:08:17 Trinity ppp[798]: Warning: Label /etc/ppp/ppp.conf
> rejected -direct connection: Configuration label not found
>
>
>
> Atualmente estou testando este formato, que uso nos OpenBSD.
>
>
>
> /etc/ppp/ppp.conf:
>
>
>
> CMT:
>
>  set authname trinity
>
>  set authkey mypasswd
>
>  set timeout 0
>
>  set ifaddr 0 0
>
>  add 172.16.0.4/24 HISADDR
>
>  alias enable yes
>
>
>
>
>
> loop:
>
>  set timeout 0
>
>  set log phase chat connect lcp ipcp command
>
>  set device localhost:pptp
>
>  set dial
>
>  set login
>
> # set mppe * stateful
>
>  set ifaddr 172.16.0.1 172.16.0.2-172.16.0.10 255.255.255.0
>
>  set server /var/tmp/loop "" 0177
>
>
>
>
>
> loop-in:
>
>  set timeout 0
>
>  set log phase lcp ipcp command
>
>  allow mode direct
>
>
>
>
>
> pptp:
>
>  load loop
>
> # set timeout 0
>
> # set speed 115200
>
> # set log phase chat connect lcp ipcp command
>
> # set dial
>
> # set login
>
> # enable mssfixup
>
> # set ifaddr 10.10.100.253 10.10.9.5-10.10.9.20 255.255.255.0
> 255.255.255.255
>
> # set ifaddr 172.16.0.1 172.16.0.2-172.16.0.20 255.255.255.0 255.255.255.0
>
>  enable chap
>
>  disable pap
>
> # enable mschapv2
>
> # disable deflate pred1
>
> # deny deflate pred1
>
>  disable ipv6
>
> # accept mppe
>
>  enable proxy
>
> # accept dns
>
>  #set dns 10.10.0.2 10.10.100.253
>
>  set device !/etc/ppp/secure
>
>
>
> Trinity# cat secure
>
> #!/bin/sh
>
> exec /usr/sbin/ppp  loop-in
>
>
>
> Trinity# netstat -an | grep 1723
>
> tcp4       0      0 200.143.33.136.1723    *.*                    LISTEN
>
> Trinity#
>
>
>
>
>
> Podem me ajudar.
>
>
>
> Valeu
>
>
>
>
>
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>



-- 
Giancarlo Rubio


Mais detalhes sobre a lista de discussão freebsd