Page 1 of 1

OpenVPN slow tx from linux client

Posted: Mon Aug 05, 2019 6:57 pm
by nikitovskij
Dear all,

I have issue with tx from client to server from linux client that stucks at 2MB when doing it from Windows reach 6MB.
I heve tried different distro (mint, ubuntu, manjaro and so on), and all of them behave the same way.

I've tried to add the following on the config file of the linux client (from Windows works fine without any of this):

txqueuelen 1000
fragment 0
rcvbuf (tried few values)
sndbuf (tried few values)

I've done it on client and server (even if I dont' think it's a server problem as from Windows client all is fine without any of those settings).

So I do not want to change server configuration anymore.

I think it's something related to the linux client. Do you have any ideas?

here the clean config which works fine in windows:

client
dev tun
proto udp
remote xxxxxxx
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
comp-lzo
setenv opt block-outside-dns
key-direction 1
verb 3

Thank you

Re: OpenVPN slow tx from linux client

Posted: Mon Aug 05, 2019 7:21 pm
by Pippin
You can also try adding

Code: Select all

net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr
to /etc/sysctl.conf
Then reboot or do

Code: Select all

sudo sysctl -p

Re: OpenVPN slow tx from linux client

Posted: Wed Aug 07, 2019 11:28 am
by nikitovskij
Pippin wrote:
Mon Aug 05, 2019 7:21 pm
You can also try adding

Code: Select all

net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr
to /etc/sysctl.conf
Then reboot or do

Code: Select all

sudo sysctl -p

Hi there, thank you for your help but it didn't work.
After that now I cannot reach remote lan anymore (surfing internet if fine insteed), how can I undo thos command?
I cancelled them from the sysctl.conf ran the command and rebooted... still cannot ping remote lan.

Re: OpenVPN slow tx from linux client

Posted: Wed Aug 07, 2019 12:05 pm
by Pippin
What does

Code: Select all

sudo sysctl -p
say?

Re: OpenVPN slow tx from linux client

Posted: Wed Aug 07, 2019 12:33 pm
by nikitovskij
sorry my bad it's ok now regarding reaching remote lan, but still the issue with tx speed.

Thank you

Re: OpenVPN slow tx from linux client

Posted: Sat Aug 10, 2019 1:29 pm
by nikitovskij
Anyone with any idea?