Skip to content
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

Program stucks while checking internet connection #257

Closed
vxfranky opened this issue Apr 10, 2024 · 1 comment
Closed

Program stucks while checking internet connection #257

vxfranky opened this issue Apr 10, 2024 · 1 comment

Comments

@vxfranky
Copy link

vxfranky commented Apr 10, 2024

I've tried deploy wsl-vpnkit as 'Setup as a standalone script' section of the instruction, but program stucks as following:

franky@FRANKYS-LAPTOP:/usr/local/wsl-vpnkit$ sudo VMEXEC_PATH=$(pwd)/wsl-vm GVPROXY_PATH=$(pwd)/wsl-gvproxy.exe ./wsl-vpnkit
[sudo] password for franky:

  • VPNKIT_GATEWAY_IP=192.168.127.1
  • VPNKIT_HOST_IP=192.168.127.254
  • VPNKIT_LOCAL_IP=192.168.127.2
  • TAP_MAC_ADDR=5a:94:ef:e4:0c:ee
  • VMEXEC_PATH=/usr/local/wsl-vpnkit/wsl-vm
  • GVPROXY_PATH=/usr/local/wsl-vpnkit/wsl-gvproxy.exe
  • TAP_NAME=wsltap
  • CHECK_HOST=example.com
  • CHECK_DNS=1.1.1.1
  • DEBUG=0
  • set +x
  • WSL2_TAP_NAME=eth0
  • WSL2_GATEWAY_IP=172.26.176.1
  • [ 0 -eq 0 ]
  • set +x
    starting vm and gvproxy...
    INFO[0000] waiting for packets...
    started vm and gvproxy
    check: ❌ ping fail to IPv4 WSL 2 gateway / Windows host (172.26.176.1)
    time="2024-04-10T19:22:53+08:00" level=info msg="waiting for clients..."
    time="2024-04-10T19:22:53+08:00" level=info msg="new connection from remote to 17120"
    check: ✔️ ping success to IPv4 Windows host (192.168.127.254)
    check: ✔️ ping success to IPv4 gateway (192.168.127.1)
    check: ✔️ nslookup success for example.com A using 192.168.127.1
    check: ✔️ nslookup success for example.com A using 172.26.176.1
    check: ✔️ nslookup success for example.com A using 1.1.1.1
    check: ✔️ ping success to IPv4 external host domain (example.com)
    check: ✔️ ping success to IPv4 external host IP (1.1.1.1)
    check: ✔️ nslookup success for example.com AAAA using 192.168.127.1
    check: ✔️ nslookup success for example.com AAAA using 172.26.176.1
    check: ✔️ nslookup success for example.com AAAA using 1.1.1.1
    ping: example.com: Address family for hostname not supported
    check: ➖ ping fail to IPv6 external host (example.com)
    check: ✔️ wget success for http://example.com
    check: ✔️ wget success for https://example.com
@vxfranky
Copy link
Author

Use WSL mirrored mode instead.

@vxfranky vxfranky closed this as not planned Won't fix, can't repro, duplicate, stale Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant