How to improve performance

Need help configuring your VPN? Just post here and you'll get that help.

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
unicornpalash
OpenVpn Newbie
Posts: 7
Joined: Thu May 28, 2009 5:42 am

How to improve performance

Post by unicornpalash » Mon Jun 29, 2009 4:25 pm

I have a bridge vpn server. 3 or 4 client server is connected with this server. Configure file is as follows. How I can improve VPN performance. Did I miss any configure option.

server.conf
----------
local x.x.x.a
port 1194
proto udp
dev tap0
server-bridge x.x.x.a 255.255.255.240 x.x.x.b x.x.x.i
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/ovpnsrv1.crt
key /etc/openvpn/keys/ovpnsrv1.key
dh /etc/openvpn/keys/dh1024.pem
duplicate-cn
keepalive 10 120
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
verb 3

client.conf
-----------
tls-client
local y.y.y.y
port 1194
dev tap0
proto udp
remote x.x.x.a 1194
resolv-retry infinite
keepalive 10 120
user nobody
group nobody
persist-key
persist-tun
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/client3.crt
key /etc/openvpn/keys/client3.key
verb 3

raidz
OpenVpn Newbie
Posts: 1
Joined: Thu Aug 06, 2009 7:18 pm

Re: How to improve performance

Post by raidz » Thu Aug 06, 2009 7:20 pm

What do you have your MTU set at? Default is usually at 1500, try setting it to 1400. It could help a little, a lot or not at all. Good Luck!

Post Reply