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 00:42] – [Reference] percy | linux:miwifi-shadowsocks [2019/03/09 01:35] (current) – percy | ||
---|---|---|---|
Line 51: | Line 51: | ||
} | } | ||
</ | </ | ||
+ | |||
<code BASH> | <code BASH> | ||
Line 62: | Line 63: | ||
/ | / | ||
+ | |||
+ | ==== To support kcptun with shadowsocks ==== | ||
+ | |||
+ | <code BASH> | ||
+ | CONFIG_KCPTUN=/ | ||
+ | # | ||
+ | CONFIG=$CONFIG_KCPTUN | ||
+ | DNS=8.8.8.8: | ||
+ | TUNNEL_PORT=5353 | ||
+ | |||
+ | start() { | ||
+ | # Client Mode | ||
+ | # | ||
+ | # Proxy Mode | ||
+ | | ||
+ | # Tunnel | ||
+ | | ||
+ | } | ||
+ | stop() { | ||
+ | # Client Mode | ||
+ | # | ||
+ | # Proxy Mode | ||
+ | | ||
+ | # Tunnel | ||
+ | | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | And the shadowsocks-kcptun.json | ||
+ | <code Bash> | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | And it will depends on the kcptun `cat / | ||
+ | <code Bash> | ||
+ | |||
+ | #!/bin/sh | ||
+ | |||
+ | cd / | ||
+ | echo ./ | ||
+ | ./ | ||
+ | </ | ||
===== dnsmasq ===== | ===== dnsmasq ===== |
/var/www/dokuwiki/wiki/data/attic/linux/miwifi-shadowsocks.1552063374.txt.gz · Last modified: 2019/03/09 00:42 by percy