-
Notifications
You must be signed in to change notification settings - Fork 4
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
Onley support unix system build? #1
Comments
Yeah. |
Thank you very much for your contribution so that I can use it quickly. Can it be supported on mobile? |
i build it ,but it can't work:
Are there any other error messages? I don't know what happened? |
Which system do you use? |
wsl, ubuntu22.04 |
I currently want to write a cross-platform gfw software. I want to use this project to implement tun2socks, so both iOS and Android may want it. Also, let me ask, boss, are you Chinese? |
No problem. I believe it can works well on Android and iOS. (I'm Chinese. |
I try in wsl ubuntu 22.04:
but it not work, error is :
I do not know why。 What is the possible reason for this? I am a chinese too. |
据我所知,WSL不支持Linux Tun/Tap功能。不知道WSL2现在是否能支持。不过就算可以的话,估计也不能在WSL里捕获Windows的网络流量吧。如果你有Linux的路由器,我认为跑在网关上是个不错的选择。 |
忘记说了我用的是wsl2.。。。意思就是wsl2里面的ubuntu2不能用吗? |
另外我想知道如何获取更多的错误信息: |
我刚实测了一下,确认WSL2是可以跑的,并且功能正常。只是只能路由Linux的流量,而不包含Widows的。你遇到的问题很可能是没有使用 |
|
我刚试了一下,确实可以跑哦,谢谢大佬 |
在WSL2中使用tun2socks代理Windows的流量也是可以的,比如IPv4以 WSL2 (IP 172.28.160.215): sudo sysctl -w net.ipv4.ip_forward=1
sudo hev-socks5-tunnel main.yml
sudo ip route add 1.1.1.1 dev tun0 Windows (IP 172.28.160.1):
|
ok,谢谢大佬,我确实是个tun2socks的新手,刚忘记了tun需要root权限或者管理员权限才能开启 |
Onley support unix system build?
The text was updated successfully, but these errors were encountered: