-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i can not connect to wireguard with wstunnel in windows #252
Comments
Endpoint = 127.0.0.1:51820 worked on linux |
no it did not fix the problem but tnx for reply man |
Be sure to disable the kill switch like in #247 (comment) and don't forget to add a static route to your server. |
i try this as well but it dose not work but tnx for reply |
Are you sure you have set a static route to your server ? |
i find out the problem when you connect the wireguard it block the server wstunnel ip you should use for allowed ip for example if your server's ip is: 8.8.8.8 you should block wireguard 8.8.8.8 ip for example in this situation your AllowedIPs should be @erebe thankyou for your great job realllly tnx. do you have plan to do it for andorid and ios? |
Hey there. I've encountered the same issue and tried the suggested solutions, namely adding a static route to the system, and allowing this bunch of IPs above. Can you please verify that I do it correctly? Executed in CMD:
Console client output:
|
I fixed it on Windows 11 by this steps: On the Windows client side:
No need to do the step with AllowedIPs as described above. |
my wireguard conf client is:
[Interface]
PrivateKey ="-------"
Address = 172.16.0.2/32
DNS = 8.8.8.8
MTU = 1300
[Peer]
PublicKey = "----------"
AllowedIPs = 0.0.0.0/0
Endpoint = 127.0.0.1:51820
and my command for ws tunnel is
start wstunnel.exe client --http-upgrade-path-prefix wstunnel -L "udp://127.0.0.1:51820:127.0.0.1:51820" "wss://85.239.61.247:443"
when i first start wstunnel
Opening TCP connection to 85.239.61.247:443
Doing TLS handshake using SNI IpAddress(85.239.61.247) with the server 85.239.61.247:443
so wstunnel run but when i connect to wireguard it block the wstunnel and i have no connection what should i do?
The text was updated successfully, but these errors were encountered: