riverqh's recent timeline updates
riverqh

riverqh

V2EX member #88180, joined on 2014-12-24 12:27:17 +08:00
riverqh's recent replies
Jul 16, 2019
Replied to a topic by henryshen233 Linux 再求教一次, OpenWrt 不能自启动 ss-tunnel
/usr/bin/ss-redir -c /etc/ss-redir.json -b 0.0.0.0 -f /var/run/ss-redir.pid &

/usr/bin/ss-tunnel -c /etc/ss-tunnel.json -b 0.0.0.0 -l 5353 -L 8.8.8.8:53 -u &

# 这个可以不加&
/etc/init.d/dnsmasq restart

exit 0
Jul 16, 2019
Replied to a topic by henryshen233 Linux 再求教一次, OpenWrt 不能自启动 ss-tunnel
每个命令行后面要加个空格和&符号,这样每个命令都独立在后台执行,否则因为第一个命令是服务导致进程没有终止,也就不会再启动后续的命令行了。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1280 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 17:19 · PVG 01:19 · LAX 10:19 · JFK 13:19
♥ Do have faith in what you're doing.