openvpn speed performance test

This forum is for admins who are looking to build or expand their OpenVPN setup.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
300000
OpenVPN Super User
Posts: 215
Joined: Tue May 01, 2012 9:30 pm

openvpn speed performance test

Post by 300000 » Fri May 09, 2014 9:34 pm

after try a lot about config and I ve got this very fast openvpn speed config , so please try this one and post your speed

server run on HTC chacha android 4.2 , the fist location have virgin boadband with download speed 40 mb/s and upload speed 3 mb/s , when i connec it from internet client can download 2.4mb/s so it is 80% of upload speed from server

the second location have BT boadband got 4mb/s doanload and upload 0.7 mb/s when client connect from internet it is download about 0.4 mb/s


it is depent very muck from upload speed from server , if you got fast upload you can expect fast download from client .

when i test inside lan , the speed from openvpn client can up to 1mb/s , this is max speed from upload wifi of thc chacha .

to compare with other vpn , i ve settup pptp. l2tp and sstp , the speed of openvpn the same pptp and sstp and fastter than l2tp

this is server config

Code: Select all

server 10.10.100.0 255.255.255.0
mute-replay-warnings 
port  1194
proto  tcp
tls-timeout 90
hand-window  900
dev tun0
comp-noadapt 
management localhost 5001
comp-lzo yes
route 10.10.100.0 255.255.255.0 10.10.100.1
push "redirect-gateway local def1 bypass-dhcp "
push "ping 20"
mute-replay-warnings
push " ip-win32 adaptive "
push "socket-flags TCP_NODELAY"
remote-cert-eku "TLS Web Client Authentication"
remap-usr1 SIGHUP
remote-cert-tls client
topology subnet
mode server
hash-size  131072   131072
bcast-buffers  131072
tcp-queue-limit  131072
tls-server
fragment 0
tun-mtu 60000
ns-cert-type  client
mssfix 0
sndbuf  1048576
rcvbuf   1048576
push "sndbuf  1048576"
push "rcvbuf  1048576"
push "route-method exe"
push "comp-lzo yes"
push "route 192.168.0.0 255.255.255.0"
push "route 10.10.100.0 255.255.255.0 10.10.100.1"
push "route 192.168.1.0 255.255.255.0"
push "route 192.168.100.0 255.255.255.0"
push "dhcp-option WINS 192.168.1.1"
push "dhcp-option DNS  8.8.8.8"
push "dhcp-option DOMAIN  mangnha.com"
push "persist-key "
push " persist-tun "
duplicate-cn
client-to-client
keepalive 10 100
persist-key
persist-tun
fast-io
verb 3
mlock
cipher BF-CBC #CBC
<dh>
-----BEGIN DH PARAMETERS-----
~~~
-----END DH PARAMETERS-----
</dh>
<ca>
-----BEGIN CERTIFICATE-----
~~~
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
~~~
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN RSA PRIVATE KEY-----
~~~
-----END RSA PRIVATE KEY-----
</key>
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
~~~
-----END OpenVPN Static key V1-----
</tls-auth>
key-direction 0
and this is client config , just copy and pase this one try it yourself

Code: Select all


remote abc.dqe.com   1194
client
reneg-sec 0
mute-replay-warnings
dev tun
fragment 0
hand-window  900
tls-timeout 90
tun-mtu 60000
mssfix 0
tcp-queue-limit 95536
bcast-buffers 95536
proto tcp-client
ns-cert-type  server
remote-cert-tls server
remote-cert-eku "TLS Web Server Authentication"
pull
comp-noadapt 
comp-lzo yes
resolv-retry infinite
nobind 
tap-sleep 6
key-direction 1
cipher BF-CBC # CBC 
persist-key
persist-tun
mute-replay-warnings
verb 2
script-security 3
<ca>
-----BEGIN CERTIFICATE-----
~~~
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
~~~
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN RSA PRIVATE KEY-----
~~~
-----END RSA PRIVATE KEY-----
</key>
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
~~~
-----END OpenVPN Static key V1-----
</tls-auth>
Last edited by debbie10t on Sat May 10, 2014 11:09 am, edited 1 time in total.
Reason: Privacy

Post Reply