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
OpenVPN slow tx from linux client
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Mon Aug 05, 2019 6:49 pm
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
Re: OpenVPN slow tx from linux client
You can also try adding
to /etc/sysctl.conf
Then reboot or do
Code: Select all
net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr
Then reboot or do
Code: Select all
sudo sysctl -p
-
- OpenVpn Newbie
- Posts: 4
- Joined: Mon Aug 05, 2019 6:49 pm
Re: OpenVPN slow tx from linux client
Pippin wrote: ↑Mon Aug 05, 2019 7:21 pmYou can also try addingto /etc/sysctl.confCode: Select all
net.core.default_qdisc=fq net.ipv4.tcp_congestion_control=bbr
Then reboot or doCode: 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.
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
Re: OpenVPN slow tx from linux client
What does
say?
Code: Select all
sudo sysctl -p
-
- OpenVpn Newbie
- Posts: 4
- Joined: Mon Aug 05, 2019 6:49 pm
Re: OpenVPN slow tx from linux client
sorry my bad it's ok now regarding reaching remote lan, but still the issue with tx speed.
Thank you
Thank you
-
- OpenVpn Newbie
- Posts: 4
- Joined: Mon Aug 05, 2019 6:49 pm
Re: OpenVPN slow tx from linux client
Anyone with any idea?