| 主机参考:VPS测评参考推荐/专注分享VPS服务器优惠信息!若您是商家可以在本站进行投稿,查看详情!此外我们还提供软文收录、PayPal代付、广告赞助等服务,查看详情! |
| 我们发布的部分优惠活动文章可能存在时效性,购买时建议在本站搜索商家名称可查看相关文章充分了解该商家!若非中文页面可使用Edge浏览器同步翻译!PayPal代付/收录合作 |
3:
- #!/bin/sh
- # destinations you do not want routed through Tor
- NON_TOR=”192.168.1.0/24 192.168.0.0/24″
- # 填tor的uid
- TOR_UID=”111″
- # Tor’s TransPort
- TRANS_PORT=”9040″
- iptables -F
- iptables -t nat -F
- iptables -t nat -A OUTPUT -m owner –uid-owner $TOR_UID -j RETURN
- iptables -t nat -A OUTPUT -p udp –dport 53 -j REDIRECT –to-ports 5353
- for NET in $NON_TOR 127.0.0.0/9 127.128.0.0/10; do
- iptables -t nat -A OUTPUT -d $NET -j RETURN
- done
- iptables -t nat -A OUTPUT -p tcp –syn -j REDIRECT –to-ports $TRANS_PORT
- iptables -A OUTPUT -m state –state ESTABLISHED,RELATED -j ACCEPT
- for NET in $NON_TOR 127.0.0.0/8; do
- iptables -A OUTPUT -d $NET -j ACCEPT
- done
- iptables -A OUTPUT -m owner –uid-owner $TOR_UID -j ACCEPT
- iptables -A OUTPUT -j REJECT
复制代码
6:
7:
- ./tor.sh
复制代码
8:
- service tor restart
复制代码
最后用curl访问一个.onion网站如http://222222222g4bgdec.onion/
成功了,就可以了
要演示的请私聊我哦
延迟简直上天了
xyk: nizhejiubupabeiqinghechama
表态比谁都快: tor浏览器用ssr作为前置代理,速度同样杠杠滴
法拉利: 不是,是禁止tor访问的地址
注册: 有没有大佬会搞的截个图 让没见过an网的小白见见世面 感觉好nb的样子
这几篇文章你可能也喜欢:
- 暂无相关推荐文章
本文由主机参考刊发,转载请注明:用酸酸**直接上an网 https://dev-web.zhujicankao.com/15956.html
主机参考















评论前必须登录!
注册