Wireguard traffic wrapped inside relay protocol add significant latency
Author: christaikoboCreated Apr 29, 2026Updated Aug 26, 2026
Labelsquestion
I tried to wrap wireguard traffic inside relay+ws and relay+tls, it adds significant latency.
The purpose is circumvent ISP QoS on UDP protocols, especially international traffic.
Ping inside plain wireguard shows 180ms latency, if I wrap wireguard inside wstunnel using either ws and wss protocol, latency basically stays the same (180ms).
For gost, relay+ws leads to around 320ms latency, while relay+tls leads to 500ms of latency.
I'm just wondering if there is anything that can be done about it
Source: go-gost/gost