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

[Openvpn-users] problem with vpn


  • Subject: [Openvpn-users] problem with vpn
  • From: "Marcos Tarquinio" <mtsmello@xxxxxxxxx>
  • Date: Thu, 24 Jan 2008 21:13:54 -0300

hi guys..i~ve posted before about this problem...i finally changed my link and now seems to be good..... so when i try to establish the vpn between two sites , one running redhat other debian  the connection goes okay...but the speed starts decreasing...decreasing...then stalls ...and decreases again.
the test i made is simple...try to upload a large file using SCP ....i try over the vpn address (10.0.0.1) and the internet address..... when i go outside the vpn (over internet address) the connection gets stable at 70k/s which will be perfect for me...but if i try over the vpn...it gets slow ..slow.....
if anyone have ideas please tell me
here is the cfg file from my server side (redhat)

[root@electra openvpn]# cat leblon-server.conf
# Usar como interface o driver TUN
dev tun
# 10.0.0.1 ip que sera assumido na matriz
# 10.0.0.2 ip remoto, ou seja, esse sera o ip da filial
ifconfig 10.0.0.1 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

tun-mtu 1500
tun-mtu-extra 32
mssfix 1000

ping-timer-rem
persist-tun
persist-key