pufferffish / wireproxy

Wireguard client that exposes itself as a socks5 proxy
ISC License
4.1k stars 235 forks source link

Reliability Issues Using with 3rd Party VPN #92

Closed lendenis closed 7 months ago

lendenis commented 8 months ago

Hello,

I am trying to use wireproxy over a commercial VPN with wireguard. The wireproxy connection is not reliable, i need to restart it from time to time frequently.

Is there a parameter, like keep alive, so it can reconnect or keep the connection alive?

Thanks

kubrickfr commented 7 months ago

Yes, you probably need to reduce the MTU in your wireproxy/wireguard configuration. Mullvad, for example, reduces your MTU to 1420, meaning that (if you connect wireproxy using IPv4) you can't use more that 1360. But just to be safe you could set it to 1320/1300 and it would insure more compatibility.

lendenis commented 7 months ago

After I change the MTU values as 1320 the reliability increased. Thanks for the suggestion.