将科学上网环境共享给局域网内其它设备的各种方式
source link: https://vpsxb.net/3648/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
很多朋友分不清各种共享代理方式的区别,把旁路网关与clash、v2ray等代理软件的允许局域网连接,以及手机的wifi热点共享混为一谈。
本期给大家盘点通过手机或者电脑将科学上网环境共享给其他设备的各种方式,基本涵盖了所有的共享方法,让你了解每种共享方式的优缺点,再根据自身情况选择适合的共享模式,解锁更多科学上网姿势
代理共享模式(http/socks)
几乎所有代理工具都支持
网关共享模式
Windows系统不支持
- 安卓手机充当旁路网关:https://youtu.be/r6nXCgYkXTQ
- Mac、Linux使用clash的
TUN
模式并开启ip转发- Linux开启ip转发:
sysctl -w net.ipv4.ip_forward=1
- Mac开启ip转发:
sysctl -w net.inet.ip.forwarding=1
Mac系统也可以直接使用clashX Pro的
增强模式
实现 - Linux开启ip转发:
路由共享模式
- Windows网卡共享
- 安卓手机Wi-Fi (USB) 共享VPN网络
- 部分手机自带该功能
- VPNHotspot:https://github.com/Mygod/VPNHotspot/releases/latest
VPNHotspot需要root才能使用
安卓投屏工具:QtScrcpy
原文:https://bulianglin.com/archives/sharenetwork.html
转载请注明原文链接
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK