pufferffish / wireproxy

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

Weird Errors #58

Open pundoo opened 1 year ago

pundoo commented 1 year ago

[ERR] socks: Failed to handle request: read tcp 127.0.0.1:1080->127.0.0.1:1942: wsarecv: An established connection was aborted by the software in your host machine.

[ERR] socks: Failed to handle request: readfrom tcp 127.0.0.1:1080->127.0.0.1:1948: read tcp 10.5.0.2:59722: connection reset by peer

I'm on Windows. What cloud be causing this? This usually shows up for sites that uses websockets (eg. Twitch), but everything works regardless (at least it seems to be).

Artyom-K commented 1 year ago

I have the same question. I have only added the section for socks5 to the wireguard config file.

Barafu commented 1 year ago

Same problem here, but it does not work: connection reset, loading fails.

kubrickfr commented 1 year ago

please post your configs, and the mtu discovered by traceroute <wireguard_peer> (the last one if more than one is printed).

Artyom-K commented 1 year ago

Here is my simple config with keys and endpoint deleted. I would be happy to help find the issue but I don't understand what I should use and how to check it's mtu on Windows.


PrivateKey = 
Address = 10.8.0.6/32
DNS = 1.1.1.1

[Peer]
PublicKey = 
PresharedKey = 
AllowedIPs = 0.0.0.0/0, ::/0
PersistentKeepalive = 0
Endpoint = 

# Socks5 creates a socks5 proxy on your LAN, and all traffic would be routed via wireguard.
[Socks5]
BindAddress = 127.0.0.1:25344