linux:miwifi-shadowsocks
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:miwifi-shadowsocks [2019/03/09 01:30] – [/etc/init.d/myshadowsocks] percy | linux:miwifi-shadowsocks [2019/03/09 01:35] (current) – percy | ||
---|---|---|---|
Line 51: | Line 51: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | |||
+ | <code BASH> | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | Everytime after the router restart, it will delete the script, so I put the script to / | ||
+ | chmod +x / | ||
+ | ln -s / | ||
+ | / | ||
+ | |||
+ | |||
==== To support kcptun with shadowsocks ==== | ==== To support kcptun with shadowsocks ==== | ||
- | ``` Bash | + | <code BASH> |
CONFIG_KCPTUN=/ | CONFIG_KCPTUN=/ | ||
# | # | ||
Line 76: | Line 89: | ||
| | ||
} | } | ||
- | ``` | + | </ |
- | < | + | And the shadowsocks-kcptun.json |
- | /etc/init.d/ | + | < |
- | /etc/init.d/ | + | { |
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
</ | </ | ||
- | Everytime after the router restart, | + | And it will depends on the kcptun `cat / |
- | chmod +x / | + | <code Bash> |
- | ln -s / | + | |
- | / | + | |
+ | #!/bin/sh | ||
+ | |||
+ | cd / | ||
+ | echo ./ | ||
+ | ./ | ||
+ | </ | ||
===== dnsmasq ===== | ===== dnsmasq ===== |
/var/www/dokuwiki/wiki/data/pages/linux/miwifi-shadowsocks.txt · Last modified: 2019/03/09 01:35 by percy