poor uploading speed in Openvpn

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
ajayan
OpenVpn Newbie
Posts: 1
Joined: Thu Aug 19, 2010 9:21 pm

poor uploading speed in Openvpn

Post by ajayan » Thu Aug 19, 2010 9:22 pm

Hi All,

I had configured openvpn (2.0.9) on my Centos 5.4 machine.I want to route all client traffic through my gateway.So i had enabled (push "redirect-gateway ") in server configuration.Now the problem is the upload speed is vey low while connecting through vpn.Normally i got 700 kbps download and 650 kbps upload speed.But while connecting through Vpn the upload speed is only 110-130 kbps but download is almost stable.Here is my Server and client conf Files.

Server
******
port 1194
proto udp
dev tun
ca /etc/openvpn/easy-rsa/2.0/keys/ca.crt
cert /etc/openvpn/easy-rsa/2.0/keys/abc.crt
key /etc/openvpn/easy-rsa/2.0/keys/abc.key
dh /etc/openvpn/easy-rsa/2.0/keys/dh1024.pem
server 172.24.0.0 255.255.0.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway"
push "dhcp-option DNS 202.46.240.5" (My ISP DNS)
keepalive 10 600
comp-lzo
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
verb 3

Client
******
dev tun
client
remote serverip
ca ca.crt
cert Testing.crt
key Testing.key
persist-key
persist-tun
comp-lzo

Openvpn server working behind a firewall,prerouting and masquerading is done properly.i had tested tested from Localnetwork too.But the result is same.How can i improve uploading speed.Thanks in Advance

Thanks
Ajayan

lightman
OpenVpn Newbie
Posts: 3
Joined: Wed Sep 01, 2010 8:45 am

Re: poor uploading speed in Openvpn

Post by lightman » Wed Sep 01, 2010 8:51 am

got the same speed isseus, playing around with the different mtu sizes doesnt increase the speed...

Post Reply