Keepalives and TOS
Posted: Wed Oct 30, 2019 11:54 am
First off sorry if this is asked else where in this forum.
You can configure keepalives for connections to detect when it drops. I understand that, but i've looked at the TCPdump of a UDP set up and can't see any tos set on any packets. I understand the passtos option but i'm wondering if there is a way to enable tos on the keepalive packet and if not can I add to the wish list.
My example would be on say a DSL or cellular connection where the bandwidth is limited and you have both openvpn traffic and other traffic, given that the underlying connection may end up queuing traffic I wish to be able to apply QoS to the keepalive packets to get out first to prevent congestion from generating a openvpn connection restart. QoS on the remote openvpn server IP will prioritise all openvpn traffic I'm looking to make sure the keepalive packet sits at the top of the queue.
You can configure keepalives for connections to detect when it drops. I understand that, but i've looked at the TCPdump of a UDP set up and can't see any tos set on any packets. I understand the passtos option but i'm wondering if there is a way to enable tos on the keepalive packet and if not can I add to the wish list.
My example would be on say a DSL or cellular connection where the bandwidth is limited and you have both openvpn traffic and other traffic, given that the underlying connection may end up queuing traffic I wish to be able to apply QoS to the keepalive packets to get out first to prevent congestion from generating a openvpn connection restart. QoS on the remote openvpn server IP will prioritise all openvpn traffic I'm looking to make sure the keepalive packet sits at the top of the queue.