Maicss
deepin
2021-07-28 01:40 搞全局的呗
Reply Like 0 View the author
搞全局的呗
搞全局的呗
用的Qv2ray,已经开了,还是访问不了
clash
如果你的电脑性能足够好:
https://hu60.cn/q.php/bbs.topic.95932.html
qv2ray还有一种办法,开启透明代理,然后新建一个***.sh文件,里面写入:
#!/bin/bash
# Create new chain
iptables -t nat -N QV2RAY
# Ignore LANs and some other reserved addresses.
iptables -t nat -A QV2RAY -d 0.0.0.0/8 -j RETURN
iptables -t nat -A QV2RAY -d 10.0.0.0/8 -j RETURN
iptables -t nat -A QV2RAY -d 127.0.0.0/8 -j RETURN
iptables -t nat -A QV2RAY -d 169.254.0.0/16 -j RETURN
iptables -t nat -A QV2RAY -d 172.16.0.0/12 -j RETURN
iptables -t nat -A QV2RAY -d 192.168.0.0/16 -j RETURN
iptables -t nat -A QV2RAY -d 224.0.0.0/4 -j RETURN
iptables -t nat -A QV2RAY -d 240.0.0.0/4 -j RETURN
# Anything else should be redirected to port $PORT$
iptables -t nat -A QV2RAY -p tcp -j REDIRECT --to-ports $PORT$
iptables -t nat -A OUTPUT -p tcp --dport 443 -j QV2RAY
iptables -t nat -A OUTPUT -p tcp --dport 80 -j QV2RAY
将$PORT$替换为你的透明代理端口,然后给予可执行权限,运行,就可以设置”真“全局代理。
要关闭代理,同样新建一个***.sh文件,然后输入:
iptables -F
iptables -X
iptables -Z
iptables -t nat -F
iptables -t nat -X
iptables -t nat -Z
给予可执行权限,运行。
Popular Events
More
如题,有梯子。浏览器上可以访问steam创意工坊。
但是在客户端上访问不了。请问如何解决?