Update README.md

This commit is contained in:
Erèbe - Romain Gerard 2023-11-05 19:21:17 +01:00 committed by GitHub
parent f3fdf0c5d0
commit 3cb0a5f942
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -218,6 +218,7 @@ Now your wstunnel server, will only accept connection if the client specify the
### Wireguard and wstunnel
https://kirill888.github.io/notes/wireguard-via-websocket/
- Disable default udp tunnel timeout that will close it after 30sec. `i.e: udp://1212:127.0.0.1:5201?timeout_sec=0`
- If you see some throughput issue, be sure to lower the MTU of your wireguard interface (you can do it via config file) to something like 1300 or you will endup fragmenting udp packet (due to overhead of other layer) which is always causing issues
- If wstunnel cannot connect to server while wireguard is on, be sure you have added a static route via your main gateway for the ip of wstunnel server.
Else if you forward all the traffic without putting a static route, you will endup looping your traffic wireguard interface -> wstunnel client -> wireguard interface