my problem is, that OpenVPN is pretty slow. I searched on different places for some tweaks but nothing worked (sadly). I am currently using OpenVPN 2.4 with UDP, i tried some MTU settings and so on, nothing realy helped me. With verbose 3, there aren't any warnings or errors, everything seems fine, the serverload isn't high at all (about 0.05) and i only got 20mbit while connected to the server (i have 200mbit at home), and when i download files over my Browser e.g. https://download.lineageos.org/m8 the speed is at 80KB/s (not on all sites i guess), if i download it with jdownloader i got around 20mbit while multiple connections.
My Configurations are as followed:
Server Hardware:
Code: Select all
CPU: 2x2,67 Ghz
RAM: 1GB
HDD: 50GB
Bandwith: 200mbit
Code: Select all
port 1194
proto udp
dev tun
user nobody
group nogroup
persist-key
persist-tun
keepalive 10 120
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 1.0.0.1"
push "dhcp-option DNS 1.1.1.1"
push "redirect-gateway def1 bypass-dhcp"
crl-verify crl.pem
ca ca.crt
cert server_qx0rCMHbN0m7AaE1.crt
key server_qx0rCMHbN0m7AaE1.key
tls-auth tls-auth.key 0
dh dh.pem
auth SHA256
cipher AES-128-CBC
tls-server
tls-version-min 1.2
tls-cipher TLS-DHE-RSA-WITH-AES-128-GCM-SHA256
status /dev/null
verb 0
log /dev/null
Code: Select all
client
proto udp
remote xxx.xxx.xxx.xxx xxxx
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
verify-x509-name server_qx0rCMHbN0m7AaE1 name
auth SHA256
auth-nocache
cipher AES-128-CBC
tls-client
tls-version-min 1.2
tls-cipher TLS-DHE-RSA-WITH-AES-128-GCM-SHA256
setenv opt block-outside-dns
verb 0