zw963 / asuswrt-merlin-transparent-proxy

transparent proxy base on ss, v2ray, xray, ipset, iptables, chinadns on asuswrt merlin or side router.
MIT License
380 stars 80 forks source link

/route/opt/etc/iptables.sh 脚本错误 #23

Closed gitx6 closed 7 years ago

gitx6 commented 7 years ago

/route/opt/etc/iptables.sh脚本第37行 $iptables -t nat -A SHADOWSOCKS --dport 22334 -j RETURN 应该为 $iptables -t nat -A SHADOWSOCKS -p tcp --dport 22334 -j RETURN

参照: https://gist.github.com/wen-long/8644243

zw963 commented 7 years ago

谢谢,明天检查并统一修复下

2017年6月30日 18:47,"wangxin6" notifications@github.com写道:

/route/opt/etc/iptables.sh脚本第37行 $iptables -t nat -A SHADOWSOCKS --dport 22334 -j RETURN 应该为 $iptables -t nat -A SHADOWSOCKS -p tcp --dport 22334 -j RETURN

参照: https://gist.github.com/wen-long/8644243

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/zw963/asuswrt-merlin-transparent-proxy/issues/23, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhhBlXTggZWg0x7b_Zm1i2gybmhkJ4eks5sJNJBgaJpZM4OKbvT .

zw963 commented 7 years ago

@wangxin6 , 请参照 issue #22, 我的回复. 也许, 我们应该全部移除 -p tcp 这样的协议限制.

gitx6 commented 7 years ago

这行脚本对多地址同一端口的有效。对于只有一个地址的可以忽略。