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

询问一下,是否有办法将Hysteria的流量通过pc的热点分享 #1557

Open
winnoryder opened this issue Jan 10, 2024 · 5 comments
Open

Comments

@winnoryder
Copy link

询问一下,是否有办法将Hysteria的流量通过pc的热点分享给其他设备?

@Alvin9999
Copy link
Owner

没研究过。

@authentic677
Copy link

可以的,pc开热点,手机连接,开启手机的系统代理,设置为你pc的ip和你pc的Hysteria的代理端口。但是这样还不行,Hysteria会拒绝不是来自本系统的代理连接,此时可以用nodejs或java或python等语言写一个简单服务程序运行在pc上,让手机与此程序代理,然后此程序只起到一个中间人的作用,在手机和Hysteria间无脑传递流量即可

@winnoryder
Copy link
Author

可以的,pc开热点,手机连接,开启手机的系统代理,设置为你pc的ip和你pc的Hysteria的代理端口。但是这样还不行,Hysteria会拒绝不是来自本系统的代理连接,此时可以用nodejs或java或python等语言写一个简单服务程序运行在pc上,让手机与此程序代理,然后此程序只起到一个中间人的作用,在手机和Hysteria间无脑传递流量即可

感谢回复,但是现在我还是没找到办法。我认为pc端分享代理流量这个功能比较有用,可以方便让其他不会翻墙的人的设备翻墙。而且行动电脑外带后可以在公共场合帮助别人翻墙

@bannedbook
Copy link
Collaborator

参考这里:
游戏机翻墙加速教程

大概就是说,Hysteria也好,其它翻墙软件也好,开普通的代理不行,要开启tun模式,经过一些配置,才能分享热点给其它设备翻墙。

@stonestar7139
Copy link

stonestar7139 commented Jan 31, 2024

确保hysteria的配置文件的listen的值是0.0.0.0:xxxx,然后手机连电脑热点,在wifi设置里设置好代理主机为电脑的ip,端口为hysteria的端口即可,绝大部分的app都会走系统代理的。注意关闭电脑防火墙

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

5 participants