[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: Erich Titl <erich.titl@xxxxxxxx>
  • Date: Tue, 20 Nov 2007 07:26:42 +0000

Hi Marcos

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??

Your config file looks like a  version 1 config file. It does not
specify any server characteristics. This is probably not what you want.

Erich


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