Results 51 comments of CliffHan

``` root@ImmortalWrt:~# cat /etc/init.d/v2raya #!/bin/sh /etc/rc.common # Copyright (C) 2021 Tianling Shen USE_PROCD=1 START=99 CONF="v2raya" PROG="/usr/bin/v2raya" is_enabled() { local enabled config_get_bool enabled "$1" "$2" "${3:-0}" if [ "$enabled" -eq "1"...

> 我感觉是路由器的iptables-mod没装全 ``` root@ImmortalWrt:~# opkg list | grep iptables-mod iptables-mod-conntrack-extra - 1.8.7-1 iptables-mod-extra - 1.8.7-1 iptables-mod-filter - 1.8.7-1 iptables-mod-fullconenat - 2019-10-21-0cf3b48f-1 iptables-mod-iprange - 1.8.7-1 iptables-mod-tproxy - 1.8.7-1 ``` 这些么?还需要哪些?

运行命令: `/etc/init.d/v2raya start`

我明白你的意思,但手动运行提示invalid argument,我不确定缺了哪些。一个个实验太费劲了。

手动运行的结果 ``` root@ImmortalWrt:~# v2raya -a 0.0.0.0:2017 -c /etc/v2raya/ 2022/06/20 13:17:35.316 [A] [main.go:25] network is connected 2022/06/20 13:17:35 invalid argument ```

加trace就这样: ``` root@ImmortalWrt:~# v2raya -a 0.0.0.0:2017 -c /etc/v2raya/ --log-level trace 2022/06/20 13:18:44.058 [T] [iptables.go:71] ExecCommands: ip rule del fwmark 0x40/0xc0 table 100 ip: RTNETLINK answers: No such file or directory...

我的理解是,log里面的三条命令 `ip rule del fwmark 0x40/0xc0 table 100` `iptables -w 2 -t nat -F V2RAY` `iptables -w 2 -D INPUT -j DROP_SPOOFING` 明显都失败了。 这三条命令是做什么的我不是很确定,似乎是调整路由表和iptables中的链? 那么,这几条命令的失败正常吗? 如果不影响v2ray正常工作的话,那么为什么我netstat看不到v2ray正常启动2017端口的监听? 如果不正常的话,那么可能是因为什么原因呢? 我觉得 @Gaojianli 说的是一种可能性,但我对iptables不熟悉,无法确认。...

这样啊,那就找不到其他信息了,麻烦,log似乎还是少了点。

嗯,会生成mips版本吗?我的cpu是ath79的MIPS 24kc

看了一下你们之前的release,似乎没有mips版本,那我这边就没法快速验证了 ``` root@ImmortalWrt:~# cat /proc/cpuinfo system type : Atheros AR7242 rev 1 machine : Buffalo WZR-HP-G450H/WZR-450HP processor : 0 cpu model : MIPS 24Kc V7.4 BogoMIPS : 265.98 wait instruction...