r4 - 30 Jan 2007 - 03:04:09 - IuriDinizYou are here: TWiki >  Personal Web  > VpnPptp

Conectar num servidor pptp com o debian

Instalar pptp-client

#!/bin/sh
apt-get install pptp-linux

Instalar um kernel >= 2.6.15 que contem suporte direto a mppe (protocolo usado pelo pptp da microsoft)

Obter os seguintes dados:

  • ip do servidor de VPN
  • nome do usuario
  • senha

Erros

Jan 30 00:54:17 cego pptp[16564]: anon warn[decaps_gre:pptp_gre.c:324]: short read (-1): Message too long
Jan 30 00:54:17 cego pptp[16569]: anon log[callmgr_main:pptp_callmgr.c:231]: Closing connection (unhandled)
Jan 30 00:54:17 cego pptp[16569]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear
Jan 30 00:54:17 cego pptp[16569]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)
Jan 30 00:56:40 cego pptp[16734]: anon log[main:pptp.c:267]: The synchronous pptp option is NOT activated 

o mtu esta muito grande (padrão 1500)

após VPN está up:

ifconfig PPP_INTERFACE mtu 1000

ou no pppd (antes da VPN está up)

pppd mtu 1000

referência: http://pptpclient.sourceforge.net/howto-diagnosis.phtml#connections_freeze

-- IuriDiniz - 17 Oct 2005

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r4 < r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback