Boa noite pessoal, Estou tentando configurar meu computador (slackware 12) para conectar na vpn do escritório.
Baixei o pacote do pptp-client em (http://pptpclient.sourceforge.net/) e instalei Na configuração segui a parte que fala da conf do client desse artigo: http://www.linuxquestions.org/linux/answers/Networking/PPTP_VPN_on_Slackware_How_to 3.2 Configuring the Linux pptp client *************************************** Create a file called /etc/ppp/options.pptp and put the following line in it: lock noauth nodeflate nobsdcomp Add the following line to /etc/ppp/chap-secrets: username pptpd password * Substitute username and password for the credentials you want to use to connect to the pptp server. Now create a file called /etc/ppp/peers/YOURTUNNELNAME, replacing YOURTUNNELNAME with whatever name you want to use to identify your tunnel. Place the following lines in this file: pty "pptp YOURPPTPSERVER --nolaunchpppd" name YOURUSERNAME mtu 1490 mru 1490 remotename pptpd require-mschap require-mschap-v2 require-mppe-128 file /etc/ppp/options.pptp ipparam YOURTUNNELNAME persist Where YOURPPTPSERVER is the address of the pptp server you want to connect to, YOURUSERNAME speaks for itself and YOURTUNNELNAME should be the same name as the file you just created in /etc/ppp/peers. There is one last detail to be handled, which is routing. To make sure our traffic gets routed to the other end of the tunnel, create a file called ip-up in /etc/ppp and add the following lines to this file: #!/bin/sh /sbin/route add -net REMOTE-NET-IP netmask REMOTE-NET-MASK dev ppp In which you have to replace the IP-address and the mask with those of the subnet on the other end of the tunnel. If there is no network on the other side, but just the pptp server, you can use -host instead of -net. When your done, save the file and make it executable: chmod +x /etc/ppp/ip-up Now that all is set up we can start the tunnel: pppd call YOURTUNNELNAME Quando eu chamo o pppd call nometotunel aparece as seguintes mensagens no meu messages: Sep 9 19:47:52 xxx pppd[19640]: Using interface ppp0 Sep 9 19:47:52 xxx pppd[19640]: Connect: ppp0 <--> /dev/pts/1 Sep 9 19:47:52 xxx pptp[20223]: anon log[main:pptp.c:276]: The synchronous pptp option is NOT activated Sep 9 19:48:04 xxx pppd[19640]: Terminating on signal 15 Sep 9 19:48:04 xxx pppd[19640]: Modem hangup Sep 9 19:48:04 xxx pppd[19640]: Connection terminated. E essas mensagens ficam se repetindo, sem efetuar a conexão. O servidor da VPN é um windows 2000. Tem alguma configuração a mais que precisa ser colocada no options.pptp?? Alguém já configurou client de vpn no slackware, em VPN's do tipo pptp? Qualquer ajuda é bem vinda! -- Eduardo Ukstin GNU/Linux User #328388 --~--~---------~--~----~------------~-------~--~----~ GUS-BR - Grupo de Usuários de Slackware Brasil http://www.slackwarebrasil.org/ http://groups.google.com/group/slack-users-br -~----------~----~----~----~------~----~------~--~---

