[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] very slow connection....help!


  • Subject: Re: [Openvpn-users] very slow connection....help!
  • From: Jan Just Keijser <janjust@xxxxxxxxx>
  • Date: Tue, 20 Nov 2007 10:42:43 +0100

Hi Marcos,

what does
  netstat -s
show on both sides? also with 'verb 8', what do the openvpn log files 
show? you should see reconnects or retransmits all over the place. Is 
that so?

HTH,

JJK

Marcos Tarquinio wrote:
> hi guys...after some research and no help i will try to ask you ....i 
> have a vpn
>  
> one running a 2mbits cable connection
> and other side 1mbit adsl conection
> both internet connections are fine.......but when i try to establish 
> the vpn...its okay...i can ssh and ping both sides...but the 
> connection is  very unstable....and slow
> if i try to scp a file , it begins with 192k/s...then slow slow...and 
> stalled , and nothing happens
>  
> the server side is running centos , the client ubuntu , and both 
> openvpn 2.0.9
>  
> here is my server conf
>  
> # Usar como interface o driver TUN
> dev tun
> # 10.0.0.1 <http://10.0.0.1> ip que sera assumido na matriz
> # 10.0.0.2 <http://10.0.0.2> ip remoto, ou seja, esse sera o ip da filial
> ifconfig 10.0.0.1 <http://10.0.0.1> 10.0.0.2 <http://10.0.0.2>
> # Entra no diretorio onde se encontram os arquivos de configuracao
> cd /etc/openvpn
> # Indica que esse tunel possui uma chave de criptografia
> secret chave
> # OpenVPN usa a porta 5000/UDP por padrao.
> # Cada tunel do OpenVPN deve usar
> # uma porta diferente.
> # O padrao e a porta 5000
> port 5000
> # Usuario que rodara o daemon do OpenVPN
> user nobody
> # Grupo que rodara o daemon do OpenVPN
> group nobody
> #Usa a biblioteca lzo
> comp-lzo
> # Envia um ping via UDP para a parte
> # remota a cada 15 segundos para manter
> # a conexao de pe em firewall statefull
> # Muito recomendado, mesmo se voce nao usa
> # um firewall baseado em statefull.
> ping 15
> # Nivel de log
> verb 8
>  
>  
>  
> already tried to play with mtu , msfix , and fragment 
> parameters.....none of them helped
> any ideas??
>  
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Openvpn-users mailing list
> Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/openvpn-users
>   

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users