TinCanTech wrote
Post your server config file, there may be some things we can improve.
dev tun
proto udp
port 3111
ca /etc/openvpn/easy-rsa/pki/ca.crt
cert /etc/openvpn/easy-rsa/pki/issued/raspberrypi_xxxx.crt
key /etc/openvpn/easy-rsa/pki/private/raspberrypi_xxxx.key
dh none
ecdh-curve prime256v1
topology subnet
server 10.8.0.0 255.255.255.0
# Set your primary domain name server address for clients
push "dhcp-option DNS 72.xx.xxx.xxx"
push "dhcp-option DNS 72.yy.yyy.yyy"
# Prevent DNS leaks on Windows
push "block-outside-dns"
# Override the Client default gateway by using 0.0.0.0/1 and
# 128.0.0.0/1 rather than 0.0.0.0/0. This has the benefit of
# overriding but not wiping out the original default gateway.
push "redirect-gateway def1"
client-to-client
client-config-dir /etc/openvpn/ccd
keepalive 15 120
remote-cert-tls client
tls-version-min 1.2
tls-crypt /etc/openvpn/easy-rsa/pki/ta.key
cipher AES-256-CBC
auth SHA256
user openvpn
group openvpn
persist-key
persist-tun
crl-verify /etc/openvpn/crl.pem
status /var/log/openvpn-status.log 20
status-version 3
syslog
verb 3
#DuplicateCNs allow access control on a less-granular, per user basis.
#Remove # if you will manage access by user instead of device.
#duplicate-cn
# Generated for use by PiVPN.io
Thanks for help. Playing with configuration file above I got improvement changing cypher and AUTH setup
Original setup: cypher AES256, AUTH SHA256. Download speed: 9,36 Mbps Upload speed: 9,36 Mbps
First setup: cypher none, AUTH SHA256 Download speed: 9,40Mbps Upload speed: 10 Mbps
Second setup: cypher none, AUTH none Download speed: 20 Mbps Upload speed: 22 Mbps
Third setup: cypher none, AUTH SHA1 Download speed: 12 Mbps Upload speed: 12 Mbps
Fourth setup: cypher none, AUTH MD5 Download speed: 13 Mbps Upload speed: 13 Mbps
Fifth setup: cypher DES, AUTH none Download speed: 11 Mbps Upload speed: 11 Mbps
Sixth setup: cypher AES128-CBC, AUTH none Download speed: 14 Mbps Upload speed: 15 Mbps
Seventh setup: cypher AES128-CFB, AUTH none Download speed: 15 Mbps Upload speed: 18 Mbps
Other combination of cyperh auth were tested with similar or worst speed. Any suggestion in setup is welcome but I really believe here, harwdare processor of router Asus N66u is the problem. Speeds above are connected with LAN ethernet cable to router. When connecting to Router with WiFI I loose 2 Mbps down/up.
What surprised me is that raspberry pi 3b + as server with 1.4 Mhz was using only max 7% of CPU. I was evaluatining purchase of another Raspberry PI as Router VPN client access but WiFi signal isn't powerful and setup will be quite more complicated. I assume router Asus A86u is the solution...