foxez
Im getting speeds only around 1-5mb/s. Its not a question about that the server is slow, ive been running softether on it (softether master race) and gotten speeds ~95mb/s 🙂
Server.conf:
plugin /etc/openvpn/radiusplugin.so /etc/openvpn/radiusplugin.cnf
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
keepalive 10 120
cipher AES-128-CBC # AES
persist-key
persist-tun
status openvpn-status.log
verb 3
Client:
dev tun
proto udp
remote x1.x.1x2.150 1194
cipher AES-128-CBC
auth SHA1
resolv-retry infinite
nobind
persist-key
persist-tun
client
verb 3
auth-user-pass auth.txt
Thanks in advance, im completely clueless ^_^
nataraj
I would try the default cipher BF-CBC and compare that performance to what your seeing now. Openvpn is not a super high performance VPN because it runs entirely in user mode, though it has other advantages, including being much easier and more flexible to configure.
If your concerned about security, I would also consider changing the "tls-cipher" option before the "cipher" option (though I would test performance first with both set to default).
I'm pretty sure that people see much higher performance from something like IPSEC which is implemented in the Linux kernel.
Nataraj
maikcat
assuming your server has gbit network card?
also i noticed that you using AES, is your cpu supports AESNI?
Michael.
foxez
Im getting a bit higher speeds when changing clipher, ~30mb/s now, is there any other things i can do to increase the speeds? When speedtesting the server from NL to Sweden im getting ~120mb/s upload.
foxez
I changed clipher and now im getting speeds ~30mb/s, still slow tho, anything else I can do? When speedtesting from my server in NL to Sweden im getting ~120mb/s upload.
maikcat
foxez
Im still getting ~20-30mb/s :c
new server config:
dev tun
proto udp
port 1194
server 10.8.0.0 255.255.255.0
tun-mtu 6000
fragment 0
mssfix 0
plugin /etc/openvpn/radiusplugin.so /etc/openvpn/radiusplugin.cnf
cipher BF-CBC
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
log openvpn.log
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
persist-key
persist-tun
Client conf:
dev tun
proto udp
port 1194
remote X1.4.XX2.1XX 1194
auth-user-pass auth.txt
auth SHA1
cipher BF-CBC
resolv-retry infinite
nobind
persist-key
persist-tun
client
verb 3
auth-user-pass auth.txt
maikcat
just curious,if you use iperf between your client and your server what do you get?
Michael.
foxez
Server being client:
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.2 sec 19.8 MBytes 16.3 Mbits/sec
My home connection is 100/10