SSH & OpenVPN perform poorly

Keywords: dscp, iptables, ssh, openvpn, network
Versions:

Special services like ssh and openvpn appear to be really slow while everything else works ok.

Above software does not set a DSCP value. This might be problematic in networks with some sort of ToS routing/queueing. This can be fixed by assigning a useful DSCP afterwards using iptables:

iptables -I OUTPUT 1 -t mangle -m dscp --dscp 0 -j DSCP --set-dscp 0x04

http://iptables-tutorial.frozentux.net/iptables-tutorial.html

Related notes for 'ssh':
Devolo ISDN router fix

Related notes for 'network':
Devolo ISDN router fix
Samba: windows software reports read only share, when really writeable

Comments
Enter new comment:

The comment will only be accepted when the following question is answered correctly:
How many dwarfs are there in snow white and the seven dwarfs?

Solution:
Name:
URL:
(Dear handmade spam sender: The URL will only be linked to after my approval, which you will not get.)
Comment: