Closed viqbgrg closed 1 year ago
/data/adb/box/scripts/box.iptables enable 18:41 [info]: use TPROXY: TCP + UDP. 18:41 [info]: creating iptables transparent proxy rules. 18:41 [info]: softap+ wlan+ swlan+ ap+ rndis+ transparent proxy. 18:41 [info]: transparent proxy for all apps. "ptables v1.8.7 (legacy): REDIRECT: Bad value for "--to-ports" option: "1053 Try iptables -h' or 'iptables --help' for more information. "ptables v1.8.7 (legacy): REDIRECT: Bad value for "--to-ports" option: "1053 Tryiptables -h' or 'iptables --help' for more information. 18:41 [info]: create iptables transparent proxy rules done. 18:41 [warn]: disable IPv6. 18:41 [info]: clash connected.
iptables -h' or 'iptables --help' for more information. "ptables v1.8.7 (legacy): REDIRECT: Bad value for "--to-ports" option: "1053 Try
我把${clash_dns_port}改成1053就不报错了,邪门了,这是为什么?
怎么是什么原因了,配置文件 lf crlf 的问题,改成lf就没有问题了
/data/adb/box/scripts/box.iptables enable 18:41 [info]: use TPROXY: TCP + UDP. 18:41 [info]: creating iptables transparent proxy rules. 18:41 [info]: softap+ wlan+ swlan+ ap+ rndis+ transparent proxy. 18:41 [info]: transparent proxy for all apps. "ptables v1.8.7 (legacy): REDIRECT: Bad value for "--to-ports" option: "1053 Try
iptables -h' or 'iptables --help' for more information. "ptables v1.8.7 (legacy): REDIRECT: Bad value for "--to-ports" option: "1053 Try
iptables -h' or 'iptables --help' for more information. 18:41 [info]: create iptables transparent proxy rules done. 18:41 [warn]: disable IPv6. 18:41 [info]: clash connected.