Open Yaya48 opened 1 month ago
Hello,
Like that it is hard to tell. In my tests I hadn't such a difference between my raw bandwith and when using wstunnel. It is the CPU that would be the bottleneck either on your client or server. So you can check for that to see if it is the case.
but my guess is that as you are using mTLS and bypass the transparent TLS stripping, you are hitting the slow path of your fortinet/firewall and being throttled due to a middle box. If this is the case, there are not much you can do.
Do your fortinet appliance block traffic without mTLS ? Would you mind describing a bit more the security setup/context where you are using wstunnel ?
Hi, yeah due to SSL MITM its not possible to run it without MTLS else it'll just decrypt the tunnel and drop it guess i'll need to check for other potential protocol. beacuse 5-13mbps is not really usable.
I'm using it on a school internal network that use a stormshield firewall.
If you haven't tried it yet. you can give a shot to use http2 instead of the default websocket as transport protocol.
https://github.com/erebe/wstunnel?tab=readme-ov-file#http2
Also you can try to play with tls-sni to avoid the stormshield TLS strip. It is illegal to stip TLS of certains website (i.e: in france bank account should be whitelisted). So you can try to spoof the SNI of a bank site to see it evade restriction.
Yeah, i didn't try http2 i'll try next time, also i didn't know MITM certain site was illegal i mean it's obvious but eh x)
So i've tried to use SNIs that are whitelisted its doesnt change anything, it still randomly disconnect and doesnt go faster, same for http2
Describe the goal
Running wireguard behind wstunnel + traefik
Describe what does not work
I'm using wireguard + wstunnel + traefik in order to bypass pretty restrictive stormshield, the stormshield is set to do transparant SSL MITM and blocking pretty much every port. Although by using wstunnel/websocket with mtls i got it to work, only issues is i have 180mbps when not using it and it downgrade to 20mbps when using it is there anything i can do to increase it at least having 50-60mpbs ?
Describe your wstunnel setup
Server : traefik + wstunnel Client wireguard + wstunnel
Desktop (please complete the following information):