server cant get more than350mbps at most

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
OpenVpn Newbie
Posts: 1
Joined: Sun Jan 10, 2021 11:43 pm

server cant get more than350mbps at most

Post by jamesbh » Sun Jan 10, 2021 11:48 pm

I have setup Openvpn on centos Server
it is a dedicated server
the problem is that it cant handle more than 300~350mbps of traffic for 6,000 concurrent users on a 1gbps Network Card
I guessed it might be because of centos7 issue
I setup another server with centos8 and for new users I forwarded them to the new server
but still both servers cant get more than 300mbps
I thought it might be the onboard network card issue with less PPS able to handle so I replaced with a 10Gbps network card but unfortunatly it became worst
what can I do to fix this issue :?:

Client config

dev tun
proto udp
remote IP 443
resolv-retry infinite
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
ignore-unknown-option block-outside-dns
verb 3

Server config
port 443
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
tls-crypt tc.key
topology subnet
max-clients 65000
push "redirect-gateway def1 bypass-dhcp"
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS"
push "dhcp-option DNS"
keepalive 10 120
cipher AES-256-CBC
user nobody
group nobody
;status openvpn-status.log
verb 5
crl-verify crl.pem
status /etc/openvpn/server/openvpn-status.log
log /etc/openvpn/server/openvpn.log

Last edited by Pippin on Mon Jan 11, 2021 11:09 am, edited 1 time in total.
Reason: Formatting

OpenVPN Super User
Posts: 426
Joined: Tue May 01, 2012 9:30 pm

Re: server cant get more than350mbps at most

Post by 300000 » Wed Jan 13, 2021 10:34 pm

You can run multi instance of openvpn so it can handle that user base . 350 is fast not slow and openvpn is single thread so your cpu not use at full. If you can config multi instance it can use full cpu power.

Post Reply