首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
V2EX
›
qwer99
›
全部回复第 1 页 / 共 1 页
回复总数
4
2015 年 8 月 27 日
回复了
qwer99
创建的主题
›
问与答
›
网件 R6300v2 刷了 shibby 的 tomato-arm 固件,发现里面的 iptables 不支持 Tproxy,请问有方法解决吗?
额...好吧,我说详细一点,我是想利用 ss 进行 udp 透明代理,我参考了一下 github 的 libev 版 ss 介绍,里面有说 udp 透明代理是需要 iptables 的 Tproxy 才能实现,具体如下:
[-u] enable udprelay mode,
TPROXY is required in redir mode
# Add any UDP rules
root@Wrt:~# ip rule add fwmark 0x01/0x01 table 100
root@Wrt:~# ip route add local 0.0.0.0/0 dev lo table 100
root@Wrt:~# iptables -t mangle -A SHADOWSOCKS -p udp --dport 53 -j TPROXY --on-port 12345 --tproxy-mark 0x01/0x01
参考链接:
https://github.com/shadowsocks/shadowsocks-libev
2015 年 8 月 27 日
回复了
qwer99
创建的主题
›
问与答
›
网件 R6300v2 刷了 shibby 的 tomato-arm 固件,发现里面的 iptables 不支持 Tproxy,请问有方法解决吗?
@
mind3x
本人是新手,有没有具体实例的链接可以看看啊?
关于
·
帮助文档
·
自助推广系统
·
博客
·
API
·
FAQ
·
Solana
·
3291 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms ·
UTC 10:17
·
PVG 18:17
·
LAX 02:17
·
JFK 05:17
♥ Do have faith in what you're doing.
❯